Error message ( in part ) error opening the cache E var/lib/apt/lists
Hello , I am running 16.04 and it is not doing software updates anymore , I get the stop sign in the top bar and a message that says
error opening the cache E can not open var/lib/apt/lists ubuntu dists xenial backports inrelease fopen ( 13 permission denied ) could not be parsed
I am a complete novice.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
For diagnostic purposes please provide the full output that you receive for the following commands (to be executed in a terminal window):
uname -a
lsb_release -crid
sudo apt update
ls -l /var/lib/
Revision history for this message
|
#2 |
Thanks Manfred , after those commands it is saying - I guess I press Y and see what happens ?
Ign:1 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial InRelease
Err:2 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release
Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
Hit:3 http://
Get:4 http://
Hit:5 http://
Hit:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
N: Repository 'http://
E: Repository 'http://
E: Repository 'http://
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N]
Revision history for this message
|
#3 |
Manfred I went ahead and installed it and the last part of the script said this
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
N: Repository 'http://
E: Repository 'http://
E: Repository 'http://
E: Repository 'http://
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Get:60 http://
Get:61 http://
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Conflicting distribution: http://
bill@bill-
Revision history for this message
|
#4 |
Manfred good news the software updater has asked me to download 105 MBs of software so it might be fixed ?
Revision history for this message
|
#5 |
There are some errors in the configuration. They should be rather easy to solve, but we need more information.
Please provide the output of the commands
uname -a
lsb_release -crid
cat -n /etc/apt/
grep '^deb' /etc/apt/
apt-cache policy
Revision history for this message
|
#6 |
This morning I ran the soft ware updater and it gave the message , repository could not be downloaded ( please check your internet) , I then clicked OK and it then said 'There are no software updates for this computer' . This it was doing for the last few weeks .
Revision history for this message
|
#7 |
Morning Manfred thanks for helping , it is now saying this
bill@bill-
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
bill@bill-
1 deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7 deb-src http://
8
9 ## Major bug fix updates produced after the final release of the
10 ## distribution.
11 deb http://
12 deb-src http://
13 deb-src http://
14
15 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
16 ## team, and may not be under a free licence. Please satisfy yourself as to
17 ## your rights to use the software. Also, please note that software in
18 ## universe WILL NOT receive any review or updates from the Ubuntu security
19 ## team.
20 deb http://
21 deb-src http://
22 deb http://
23 deb-src http://
24
25 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
26 ## team, and may not be under a free licence. Please satisfy yourself as to
27 ## your rights to use the software. Also, please note that software in
28 ## multiverse WILL NOT receive any review or updates from the Ubuntu
29 ## security team.
30 deb http://
31 deb-src http://
32 deb http://
33 deb-src http://
34
35 ## N.B. software from this repository may not have been tested as
36 ## extensively as that contained in the main release, although it includes
37 ## newer versions of some applications which may provide useful features.
38 ## Also, please note that software in backports WILL NOT receive any review
39 ## or updates from the Ubuntu security team.
40 deb-src http://
41
42 ## Uncomment the following two lines to add software from Canonical's
43 ## 'partner' repository.
44 ## This software is not part of Ubuntu, but is offered by Canonical and the
45 ## respective vendors as a service to Ubuntu users.
46 deb http://
47 deb-src http://
48
49 deb http://
50 deb-src http://
51 deb-src http://
52 deb http://
53 deb-src http://
54 deb http://
55 deb-src http://
56 deb http://
57 deb http://
bill@bill-
grep: /etc/apt/
bill@bill-
Revision history for this message
|
#8 |
It is weird as that is saying 18.04 but I am running on 16.04
Revision history for this message
|
#9 |
Sorry just checked it is Ubuntu 18.04.4 LTS I am running .
Revision history for this message
|
#10 |
Then all the xenial lines in your sources need changing to bionic. Did you "upgrade" by manually editing the lines then running upgrades?
Revision history for this message
|
#11 |
No I didn't , so in that script above I need to manually change all the xenial words to bionic ? I have to go out soon so may not reply untill this PM , UK time.
Revision history for this message
|
#12 |
This bit sounds a bit worrying , should I be worried ?
25 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
26 ## team, and may not be under a free licence. Please satisfy yourself as to
27 ## your rights to use the software. Also, please note that software in
28 ## multiverse WILL NOT receive any review or updates from the Ubuntu
29 ## security team.
30 deb http://
31 deb-src http://
32 deb http://
33 deb-src http://
34
35 ## N.B. software from this repository may not have been tested as
36 ## extensively as that contained in the main release, although it includes
37 ## newer versions of some applications which may provide useful features.
38 ## Also, please note that software in backports WILL NOT receive any review
39 ## or updates from the Ubuntu security team.
40 deb-src http://
Revision history for this message
|
#13 |
No, that's fine. Just change:
deb http://
deb-src http://
deb http://
deb-src http://
To:
deb http://
#deb-src http://
deb http://
#deb-src http://
and change:
deb-src http://
to:
#deb-src http://
Save the new file, close your text editor and run:
sudo apt update
Is it smooth?
Revision history for this message
|
#14 |
One additional (rather important) change to be done:
Comment out the first line ("deb cdrom:[Ubuntu 16.04 LTS ...")
by putting a comment indicator ("#") to the beginning of the line making it
# deb cdrom:[Ubuntu 16.04 LTS ...
You know how to make all these changes?
Open a terminal wndow and issue the command
sudo gedit /etc/apt/
Revision history for this message
|
#15 |
Thanksyou Manfred and Andrew for responding I have entered sudo gedit /etc/apt/
deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://
deb-src http://
deb http://
deb-src http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb http://
Revision history for this message
|
#16 |
I added the # and entered it and then this came up
bill@bill-
Command 'deb' not found, did you mean:
command 'dub' from snap dub (1.19.0)
command 'den' from snap den (1.2.0-0)
command 'dex' from deb dex
command 'debi' from deb devscripts
command 'derb' from deb icu-devtools
command 'dep' from deb go-dep
command 'deb3' from deb quilt
command 'dab' from deb bsdgames
command 'dub' from deb dub
command 'xdeb' from deb xdeb
command 'edb' from deb edb-debugger
command 'debc' from deb devscripts
See 'snap info <snapname>' for additional versions.
bill@bill-
Revision history for this message
|
#17 |
That was not all of it just the end bit
Revision history for this message
|
#18 |
I do not know what you did, but apparently something went wrong.
Try again:
Open a terminal windows and issue the command
sudo gedit /etc/apt/
This will most probably ask for your password (as confirmation for an administrative action) and will then open a editor in a separate window, with the sources.list configuration file loaded.
In that editor window you should be able to modify the file, just like any word processing program.
Put a '#' in front of the first line
replace all occurrences of "xenial" by "bionic"
delete the very last line (containing "bionic-proposed")
Then save the file and close the editor.
Finally issue the command
sudo apt update
and report the results.
Revision history for this message
|
#19 |
I have tried that and got this
bill@bill-
[sudo] password for bill:
Sorry, try again.
[sudo] password for bill:
Ign:1 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial InRelease
Err:2 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release
Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
Hit:3 http://
Hit:4 http://
Hit:5 http://
Hit:6 http://
Hit:7 http://
Hit:8 http://
Hit:9 http://
Hit:10 http://
Hit:11 http://
Hit:12 http://
Ign:13 http://
Ign:13 http://
Err:13 http://
404 Not Found [IP: 2001:67c:
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Conflicting distribution: http://
bill@bill-
Revision history for this message
|
#20 |
Thte software updater just asked me to downl;oad 6 MBs , doing that now .
Revision history for this message
|
#21 |
I have restarted the laptop and ran the soft ware updater and it gave the message , repository could not be downloaded ( please check your internet) , I then clicked OK and it then said 'There are no software updates for this computer' . So no improvement yet.
this is the re-written code I used
#deb cdrom:[Ubuntu 16.04 LTS _bionic Xerus_ - Release amd64 (20160420.1)]/ bionic main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://
deb-src http://
deb http://
deb-src http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
So I ran that and then put in sudo apt update
I suspect that it's the '' (expected bionic but got xenial)'' that is the fly in the ointment.
Revision history for this message
|
#22 |
If you comment out the restricted repository does it help?
Revision history for this message
|
#23 |
By that you mean put # in front of say for EG
#deb http://
all the way through ?
Revision history for this message
|
#24 |
I entered this
#deb cdrom:[Ubuntu 16.04 LTS _bionic Xerus_ - Release amd64 (20160420.1)]/ bionic main restricted
# See http://
# newer versions of the distribution.
#deb http://
#deb-src http://
#deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
#deb http://
#deb-src http://
#deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://
deb-src http://
#deb http://
#deb-src http://
#deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
#deb http://
Revision history for this message
|
#25 |
Looks OK. Is it smooth?
Revision history for this message
|
#26 |
And it spat out this , haven't tried a software upgrade yet .
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
Command 'deb' not found, did you mean:
command 'dub' from snap dub (1.19.0)
command 'den' from snap den (1.2.0-0)
command 'dep' from deb go-dep
command 'debc' from deb devscripts
command 'dub' from deb dub
command 'edb' from deb edb-debugger
command 'xdeb' from deb xdeb
command 'derb' from deb icu-devtools
command 'dab' from deb bsdgames
command 'deb3' from deb quilt
command 'dex' from deb dex
command 'debi' from deb devscripts
See 'snap info <snapname>' for additional versions.
bill@bill-
deb-src: command not found
bill@bill-
Command 'deb' not found, did you mean:
command 'dub' from snap dub (1.19.0)
command 'den' from snap den (1.2.0-0)
command 'deb3' from deb quilt
command 'edb' from deb edb-debugger
command 'debc' from deb devscripts
command 'dab' from deb bsdgames
command 'dep' from deb go-dep
command 'xdeb' from deb xdeb
command 'derb' from deb icu-devtools
command 'dub' from deb dub
command 'dex' from deb dex
command 'debi' from deb devscripts
See 'snap info <snapname>' for additional versions.
bill@bill-
deb-src: command not found
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
Command 'deb' not found, did you mean:
command 'den' from snap den (1.2.0-0)
command 'dub' from snap dub (1.19.0)
command 'dex' from deb dex
command 'debc' from deb devscripts
command 'dep' from deb go-dep
command 'debi' from deb devscripts
command 'edb' from deb edb-debugger
command 'deb3' from deb quilt
command 'dab' from deb bsdgames
command 'derb' from deb icu-devtools
command 'xdeb' from deb xdeb
command 'dub' from deb dub
See 'snap info <snapname>' for additional versions.
bill@bill-
deb-src: command not found
bill@bill-
Command 'deb' not found, did you mean:
command 'den' from snap den (1.2.0-0)
command 'dub' from snap dub (1.19.0)
command 'debc' from deb devscripts
command 'debi' from deb devscripts
command 'xdeb' from deb xdeb
command 'edb' from deb edb-debugger
command 'derb' from deb icu-devtools
command 'deb3' from deb quilt
command 'dub' from deb dub
command 'dex' from deb dex
command 'dep' from deb go-dep
command 'dab' from deb bsdgames
See 'snap info <snapname>' for additional versions.
bill@bill-
deb-src: command not found
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
deb-src: command not found
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
Command 'deb' not found, did you mean:
command 'dub' from snap dub (1.19.0)
command 'den' from snap den (1.2.0-0)
command 'xdeb' from deb xdeb
command 'debi' from deb devscripts
command 'dex' from deb dex
command 'debc' from deb devscripts
command 'dep' from deb go-dep
command 'dab' from deb bsdgames
command 'derb' from deb icu-devtools
command 'dub' from deb dub
command 'edb' from deb edb-debugger
command 'deb3' from deb quilt
See 'snap info <snapname>' for additional versions.
bill@bill-
deb-src: command not found
bill@bill-
bill@bill-
bill@bill-
bill@bill-
bill@bill-
Command 'deb' not found, did you mean:
command 'den' from snap den (1.2.0-0)
command 'dub' from snap dub (1.19.0)
command 'debc' from deb devscripts
command 'dub' from deb dub
command 'dex' from deb dex
command 'deb3' from deb quilt
command 'dep' from deb go-dep
command 'xdeb' from deb xdeb
command 'debi' from deb devscripts
command 'derb' from deb icu-devtools
command 'edb' from deb edb-debugger
command 'dab' from deb bsdgames
See 'snap info <snapname>' for additional versions.
bill@bill-
deb-src: command not found
bill@bill-
Command 'deb' not found, did you mean:
command 'dub' from snap dub (1.19.0)
command 'den' from snap den (1.2.0-0)
command 'debi' from deb devscripts
command 'xdeb' from deb xdeb
command 'dep' from deb go-dep
command 'dub' from deb dub
command 'deb3' from deb quilt
command 'dab' from deb bsdgames
command 'derb' from deb icu-devtools
command 'debc' from deb devscripts
command 'edb' from deb edb-debugger
command 'dex' from deb dex
See 'snap info <snapname>' for additional versions.
bill@bill-
deb-src: command not found
bill@bill-
bill@bill-
Revision history for this message
|
#27 |
Software updater still saying failed to download repository
Revision history for this message
|
#28 |
It seems that you again made some wrong keystrokes.
I suggest to do some clean-up action first and then start again.
Issue the commands
sudo rm -v /var/lib/
sudo rm -v /var/lib/
sudo apt update
cat -n /etc/apt/
ls -l /etc/apt/
cat -n /etc/apt/
ls -l /etc/apt/
and copy/paste the full output into this question document that we can see the results.
Revision history for this message
|
#29 |
Hello Manfred , I just C&P this
sudo rm -v /var/lib/
sudo rm -v /var/lib/
sudo apt update
cat -n /etc/apt/
ls -l /etc/apt/
cat -n /etc/apt/
ls -l /etc/apt/
and it spat out this
bill@bill-
[sudo] password for bill:
Sorry, try again.
[sudo] password for bill:
rm: cannot remove '/var/lib/
bill@bill-
Maybe you meant issue one command at a time ?
Revision history for this message
|
#30 |
Just tried the 1st line only and it came back with this
bill@bill-
rm: cannot remove '/var/lib/
bill@bill-
Thanks for persevering with this for me , appreciated.
Revision history for this message
|
#31 |
Yeah just keep going. You can even copy and paste all the commands in one hit
Revision history for this message
|
#32 |
Since the 1st two lines of commands ref the var lists that are not in the directory I C&P the last 5 lines and this came back
password for bill:
Ign:1 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial InRelease
Err:2 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release
Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
Get:3 http://
Hit:4 http://
Hit:5 http://
Get:6 http://
Get:7 http://
Hit:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Ign:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Ign:13 http://
Get:21 http://
Get:22 http://
Err:13 http://
404 Not Found [IP: 2001:67c:
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Conflicting distribution: http://
bill@bill-
Revision history for this message
|
#33 |
That output isn't complete!
Please repeat all of them, one by one, even if some of them end with error
Revision history for this message
|
#34 |
I have gone through all of them one by one and this is the print out
sudo rm -v /var/lib/
bill@bill-
[sudo] password for bill:
rm: cannot remove '/var/lib/
bill@bill-
-------
sudo rm -v /var/lib/
bill@bill-
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
rm: cannot remove '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
rm: cannot remove '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
bill@bill-
-------
sudo apt update 3rd line gives
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
rm: cannot remove '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
rm: cannot remove '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
removed '/var/lib/
bill@bill-
bill@bill-
Ign:1 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial InRelease
Err:2 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release
Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Get:63 http://
Get:64 http://
Get:65 http://
Get:66 http://
Get:67 http://
Get:68 http://
Get:69 http://
Get:70 http://
Get:71 http://
Get:72 http://
Get:73 http://
Get:74 http://
Get:75 http://
Get:76 http://
Get:77 http://
Get:78 http://
Get:79 http://
Get:80 http://
Get:81 http://
Get:82 http://
Get:83 http://
Get:84 http://
Get:85 http://
Get:86 http://
Get:87 http://
Get:88 http://
Get:89 http://
Get:90 http://
Get:91 http://
Get:92 http://
Get:93 http://
Get:94 http://
Get:95 http://
Get:96 http://
Get:97 http://
Get:98 http://
Get:99 http://
Get:100 http://
Get:101 http://
Get:102 http://
Get:103 http://
Get:104 http://
Get:105 http://
Get:106 http://
Get:107 http://
Get:108 http://
Get:109 http://
Get:110 http://
Get:111 http://
Get:112 http://
Get:113 http://
Get:114 http://
Get:115 http://
Get:116 http://
Get:117 http://
Get:118 http://
Get:119 http://
Get:120 http://
Get:121 http://
Get:122 http://
Get:123 http://
Get:124 http://
Get:125 http://
Get:126 http://
Get:127 http://
Get:128 http://
Get:129 http://
Get:130 http://
Get:131 http://
Get:132 http://
Get:133 http://
Get:134 http://
Get:135 http://
Get:136 http://
Get:137 http://
Get:138 http://
Get:139 http://
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
bill@bill-
-------
cat -n /etc/apt/
Get:107 http://
Get:108 http://
Get:109 http://
Get:110 http://
Get:111 http://
Get:112 http://
Get:113 http://
Get:114 http://
Get:115 http://
Get:116 http://
Get:117 http://
Get:118 http://
Get:119 http://
Get:120 http://
Get:121 http://
Get:122 http://
Get:123 http://
Get:124 http://
Get:125 http://
Get:126 http://
Get:127 http://
Get:128 http://
Get:129 http://
Get:130 http://
Get:131 http://
Get:132 http://
Get:133 http://
Get:134 http://
Get:135 http://
Get:136 http://
Get:137 http://
Get:138 http://
Get:139 http://
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
bill@bill-
bill@bill-
1 deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7 deb-src http://
8
9 ## Major bug fix updates produced after the final release of the
10 ## distribution.
11 deb http://
12 deb-src http://
13 deb-src http://
14
15 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
16 ## team, and may not be under a free licence. Please satisfy yourself as to
17 ## your rights to use the software. Also, please note that software in
18 ## universe WILL NOT receive any review or updates from the Ubuntu security
19 ## team.
20 deb http://
21 deb-src http://
22 deb http://
23 deb-src http://
24
25 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
26 ## team, and may not be under a free licence. Please satisfy yourself as to
27 ## your rights to use the software. Also, please note that software in
28 ## multiverse WILL NOT receive any review or updates from the Ubuntu
29 ## security team.
30 deb http://
31 deb-src http://
32 deb http://
33 deb-src http://
34
35 ## N.B. software from this repository may not have been tested as
36 ## extensively as that contained in the main release, although it includes
37 ## newer versions of some applications which may provide useful features.
38 ## Also, please note that software in backports WILL NOT receive any review
39 ## or updates from the Ubuntu security team.
40 deb-src http://
41
42 ## Uncomment the following two lines to add software from Canonical's
43 ## 'partner' repository.
44 ## This software is not part of Ubuntu, but is offered by Canonical and the
45 ## respective vendors as a service to Ubuntu users.
46 deb http://
47 deb-src http://
48
49 deb http://
50 deb-src http://
51 deb-src http://
52 deb http://
53 deb-src http://
54 deb http://
55 deb-src http://
56 deb http://
57 deb http://
bill@bill-
-------
ls -l /etc/apt/
bill@bill-
total 0
bill@bill-
-------
cat -n /etc/apt/
bill@bill-
cat: /etc/apt/
bill@bill-
-------
ls -l /etc/apt/
bill@bill-
total 0
bill@bill-
Revision history for this message
|
#35 |
Ok, most errors have already disappeared.
Let's try again:
open a terminal and issue the command
sudo gedit /etc/apt/
In the editor that opens after the password prompt, do the following changes:
remove all contents and replace then with the following lines (by copy and paste):
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
# See http://
# newer versions of the distribution.
deb http://
# deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
# deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://
# deb-src http://
deb http://
# deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
# deb-src http://
deb http://
# deb-src http://
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://
# deb-src http://
deb http://
# deb-src http://
deb http://
# deb-src http://
deb http://
# deb-src http://
# deb http://
# deb-src http://
Revision history for this message
|
#36 |
Note:
At the very beginning the word "restricted" has to be the last one of the line that starts with "' deb cdrom:", and must not be alone on the following line.
When you have pasted all contents, save the file and close the editor.
And then run the commands
sudo rm /var/lib/
sudo apt update
and copy/paste the output.
Revision history for this message
|
#37 |
correction:
copy/paste the output into this question document, not into the terminal window
Revision history for this message
|
#38 |
After the editor page opened and I C&P the changes you made onto it back in the terminal it said this
bill@bill-
total 0
bill@bill-
[sudo] password for bill:
** (gedit:9827): WARNING **: 12:34:04.425: Set document metadata failed: Setting attribute metadata:
** (gedit:9827): WARNING **: 12:34:04.429: Set document metadata failed: Setting attribute metadata:
** (gedit:9827): WARNING **: 12:36:08.356: Set document metadata failed: Setting attribute metadata:
bill@bill-
Revision history for this message
|
#39 |
This is ok.
Now what output do you receive for
sudo rm /var/lib/
sudo apt update
cat -n /etc/apt/
Revision history for this message
|
#40 |
I did not C&P into the terminal , it was just what the terminal was saying after I went back to it after changing the editor window.
After C&P the command sudo rm /var/lib/
bill@bill-
rm: cannot remove '/var/lib/
rm: cannot remove '/var/lib/
bill@bill-
Revision history for this message
|
#41 |
After running the command sudo apt update it gave back this ( after running loads of directories through it for nearly 2 mins )
bill@bill-
rm: cannot remove '/var/lib/
rm: cannot remove '/var/lib/
bill@bill-
Revision history for this message
|
#42 |
After running cat -n /etc/apt/
bill@bill-
1 deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7 deb-src http://
8
9 ## Major bug fix updates produced after the final release of the
10 ## distribution.
11 deb http://
12 deb-src http://
13 deb-src http://
14
15 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
16 ## team, and may not be under a free licence. Please satisfy yourself as to
17 ## your rights to use the software. Also, please note that software in
18 ## universe WILL NOT receive any review or updates from the Ubuntu security
19 ## team.
20 deb http://
21 deb-src http://
22 deb http://
23 deb-src http://
24
25 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
26 ## team, and may not be under a free licence. Please satisfy yourself as to
27 ## your rights to use the software. Also, please note that software in
28 ## multiverse WILL NOT receive any review or updates from the Ubuntu
29 ## security team.
30 deb http://
31 deb-src http://
32 deb http://
33 deb-src http://
34
35 ## N.B. software from this repository may not have been tested as
36 ## extensively as that contained in the main release, although it includes
37 ## newer versions of some applications which may provide useful features.
38 ## Also, please note that software in backports WILL NOT receive any review
39 ## or updates from the Ubuntu security team.
40 deb-src http://
41
42 ## Uncomment the following two lines to add software from Canonical's
43 ## 'partner' repository.
44 ## This software is not part of Ubuntu, but is offered by Canonical and the
45 ## respective vendors as a service to Ubuntu users.
46 deb http://
47 deb-src http://
48
49 deb http://
50 deb-src http://
51 deb-src http://
52 deb http://
53 deb-src http://
54 deb http://
55 deb-src http://
56 deb http://
57 deb http://
bill@bill-
Revision history for this message
|
#43 |
I see ''restricted '' is on it's own line , like you said it shouldn't be !
Revision history for this message
|
#44 |
In the terminal window it is not alone on it's own line , it is just when you C&P it over here that it is.
Revision history for this message
|
#45 |
Whatever you did, it was not successful, because the contents of the sources.list file are still the same old wrong contents.
Try again.
open a terminal window
issue the command
sudo gedit /etc/apt/
remove all contents and paste the new contents as listed in comment #35
Then save the file (ctrl-s) and close the editor.
Are there any error messages in the editor (apart from these ** (gedit:9827): WARNING **:) messages in the terminal?
Does the output of the command
cat -n /etc/apt/
still show
57 deb http://
as its last line?
Revision history for this message
|
#46 |
Done that and it shows
bill@bill-
1 deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7 deb-s
ETC ALL the Missing
54 deb http://
55 deb-src http://
56 deb http://
57 deb http://
bill@bill-
Revision history for this message
|
#47 |
No when I click on Recent docs , there is nothing there ?
Revision history for this message
|
#48 |
I have opened a pic and checked recent and it was there so it has started remembering again .
Revision history for this message
|
#49 |
I do not know what you are doing, but the contents of the sources.list file do not change.
I cannot understand what there is happening on your system.
I can only ask you to try again, and pleas describe what you do.
Revision history for this message
|
#50 |
This ''Failed to upload repository'
Revision history for this message
|
#51 |
Following commands in #39 after I have restarted the laptop
bill@bill-
[sudo] password for bill:
rm: cannot remove '/var/lib/
rm: cannot remove '/var/lib/
bill@bill-
then 2nd command gives this
bill@bill-
[sudo] password for bill:
rm: cannot remove '/var/lib/
rm: cannot remove '/var/lib/
bill@bill-
bill@bill-
Ign:1 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial InRelease
Err:2 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release
Please use apt-cdrom to allow APT to recognise this CD-ROM. 'apt-get update' cannot be used to add new CD-ROMs
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Get:63 http://
Get:64 http://
Get:65 http://
Get:66 http://
Get:67 http://
Get:68 http://
Get:69 http://
Get:70 http://
Get:71 http://
Get:72 http://
Get:73 http://
Get:74 http://
Get:75 http://
Get:76 http://
Get:77 http://
Get:78 http://
Get:79 http://
Get:80 http://
Get:81 http://
Get:82 http://
Get:83 http://
Get:84 http://
Get:85 http://
Get:86 http://
Get:87 http://
Get:88 http://
Get:89 http://
Get:90 http://
Get:91 http://
Get:92 http://
Get:93 http://
Get:94 http://
Get:95 http://
Get:96 http://
Get:97 http://
Get:98 http://
Get:99 http://
Get:100 http://
Get:101 http://
Get:102 http://
Get:103 http://
Get:104 http://
Get:105 http://
Get:106 http://
Get:107 http://
Get:108 http://
Get:109 http://
Get:110 http://
Get:111 http://
Get:112 http://
Get:113 http://
Get:114 http://
Get:115 http://
Get:116 http://
Get:117 http://
Get:118 http://
Get:119 http://
Get:120 http://
Get:121 http://
Get:122 http://
Get:123 http://
Get:124 http://
Get:125 http://
Get:126 http://
Get:127 http://
Get:128 http://
Get:129 http://
Get:130 http://
Get:131 http://
Get:132 http://
Get:133 http://
Get:134 http://
Get:135 http://
Get:136 http://
Get:137 http://
Get:138 http://
Get:139 http://
After 3rd command
[10.9 kB]
Get:133 http://
Get:134 http://
Get:135 http://
Get:136 http://
Get:137 http://
Get:138 http://
Get:139 http://
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
bill@bill-
bill@bill-
1 deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7 deb-src http://
8
9 ## Major bug fix updates produced after the final release of the
10 ## distribution.
11 deb http://
12 deb-src http://
13 deb-src http://
14
15 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
16 ## team, and may not be under a free licence. Please satisfy yourself as to
17 ## your rights to use the software. Also, please note that software in
18 ## universe WILL NOT receive any review or updates from the Ubuntu security
19 ## team.
20 deb http://
21 deb-src http://
22 deb http://
23 deb-src http://
24
25 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
26 ## team, and may not be under a free licence. Please satisfy yourself as to
27 ## your rights to use the software. Also, please note that software in
28 ## multiverse WILL NOT receive any review or updates from the Ubuntu
29 ## security team.
30 deb http://
31 deb-src http://
32 deb http://
33 deb-src http://
34
35 ## N.B. software from this repository may not have been tested as
36 ## extensively as that contained in the main release, although it includes
37 ## newer versions of some applications which may provide useful features.
38 ## Also, please note that software in backports WILL NOT receive any review
39 ## or updates from the Ubuntu security team.
40 deb-src http://
41
42 ## Uncomment the following two lines to add software from Canonical's
43 ## 'partner' repository.
44 ## This software is not part of Ubuntu, but is offered by Canonical and the
45 ## respective vendors as a service to Ubuntu users.
46 deb http://
47 deb-src http://
48
49 deb http://
50 deb-src http://
51 deb-src http://
52 deb http://
53 deb-src http://
54 deb http://
55 deb-src http://
56 deb http://
57 deb http://
bill@bill-
Revision history for this message
|
#52 |
The required task is replacing the contents of the sources.list configuration file with the contents that I have pasted into comment #35
As long as this isn't done you will always see error messages at the end of "apt update" (and some other errors that do not result in messages).
The important steps are editing the file, removing all current contents, pasting the list of "deb ..." directives from comment #35 and saving the file with the new contents.
Revision history for this message
|
#53 |
To be clear when you said
In the editor that opens after the password prompt, do the following changes:
remove all contents and replace then with the following lines (by copy and paste):
I highlighted the contents of the editor box and then C&P the corrected script from #35 in one block , hope this was correct. I havent had any issues with Ubuntu for years until this as the software updater just did it's thing.
Revision history for this message
|
#54 |
Fully correct. This is what has to be done.
As a quick check after the paste action: the first an the last lines have to start with a # sign.
If that doesn't, then the paste was wrong.
After the paste action you have to save the file, overwriting the old contents.
Revision history for this message
|
#55 |
Still giving back this in the terminal after saving the corrected script in the editor.
bill@bill-
[sudo] password for bill:
** (gedit:6337): WARNING **: 17:55:09.377: Set document metadata failed: Setting attribute metadata:
** (gedit:6337): WARNING **: 17:55:09.379: Set document metadata failed: Setting attribute metadata:
** (gedit:6337): WARNING **: 17:55:12.565: Set document metadata failed: Setting attribute metadata:
bill@bill-
Revision history for this message
|
#56 |
These warnings are harmless and can be ignored. They will always be shown when you start gedit from a command line terminal.
The important question is whether the file was saved with the correct contents.
Revision history for this message
|
#57 |
I do not know if you have fixed it Manfred but I am optimistic as there have been changes , please see the following. I checked the saved file and the last line did not have a # in front of it , so this was probably the problem , so sorry if it was my fault wasting your time. I can follow your instructions but haven't a clue what they mean . Anyway if it is now sorted thanknyou so much for all your knowledge and help. Cheers Bill
bill@bill-
rm: cannot remove '/var/lib/
rm: cannot remove '/var/lib/
bill@bill-
2nd sudo apt update
bill@bill-
[sudo] password for bill:
** (gedit:8075): WARNING **: 18:36:10.166: Set document metadata failed: Setting attribute metadata:
** (gedit:8075): WARNING **: 18:36:10.167: Set document metadata failed: Setting attribute metadata:
** (gedit:8075): WARNING **: 18:36:16.319: Set document metadata failed: Setting attribute metadata:
bill@bill-
bill@bill-
rm: cannot remove '/var/lib/
rm: cannot remove '/var/lib/
bill@bill-
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Get:63 http://
Get:64 http://
Get:65 http://
Get:66 http://
Get:67 http://
Get:68 http://
Get:69 http://
Get:70 http://
Get:71 http://
Get:72 http://
Get:73 http://
Get:74 http://
Get:75 http://
Get:76 http://
Get:77 http://
Get:78 http://
Get:79 http://
Get:80 http://
Get:81 http://
Get:82 http://
Get:83 http://
Get:84 http://
Fetched 55.0 MB in 1min 32s (595 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
11 packages can be upgraded. Run 'apt list --upgradable' to see them.
bill@bill-
-------
I then ran apt list upgradable and it said this
bill@bill-
Listing... Done
bind9-host/
dnsutils/
libbind9-
libdns-
libdns1100/
libirs160/
libisc-
libisc169/
libisccc160/
libisccfg160/
liblwres160/
bill@bill-
-------
then 3rd command
bill@bill-
1 # deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 # deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 # deb-src http://
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team, and may not be under a free licence. Please satisfy yourself as to
15 ## your rights to use the software. Also, please note that software in
16 ## universe WILL NOT receive any review or updates from the Ubuntu security
17 ## team.
18 deb http://
19 # deb-src http://
20 deb http://
21 # deb-src http://
22
23 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
24 ## team, and may not be under a free licence. Please satisfy yourself as to
25 ## your rights to use the software. Also, please note that software in
26 ## multiverse WILL NOT receive any review or updates from the Ubuntu
27 ## security team.
28 deb http://
29 # deb-src http://
30 deb http://
31 # deb-src http://
32
33 ## N.B. software from this repository may not have been tested as
34 ## extensively as that contained in the main release, although it includes
35 ## newer versions of some applications which may provide useful features.
36 ## Also, please note that software in backports WILL NOT receive any review
37 ## or updates from the Ubuntu security team.
38 deb http://
39 # deb-src http://
40
41 ## Uncomment the following two lines to add software from Canonical's
42 ## 'partner' repository.
43 ## This software is not part of Ubuntu, but is offered by Canonical and the
44 ## respective vendors as a service to Ubuntu users.
45 deb http://
46 # deb-src http://
47
48 deb http://
49 # deb-src http://
50 deb http://
51 # deb-src http://
52 deb http://
53 # deb-src http://
54 # deb http://
55 # deb-src http://
bill@bill-
Revision history for this message
|
#58 |
Well done Manfred , I restarted the laptop and ran the software updater and it said the software on this PC is up to date, normally it said failed to download repository , thanks so much . Do not know how you did it but you got there . Cheers Bill
Revision history for this message
|
#59 |
Thanks Manfred Hampl, that solved my question.
Revision history for this message
|
#60 |
Well done, you have issued the commands to solve the problem.
Just a remark:
There should not be any need to run the command "sudo rm /var/lib/
Revision history for this message
|
#61 |
Cheers Manfred , I am having a few beers in celebration , I owe you several. cheers