Cant Fix broken packages
Im following the guidance in /PackageManager
patrick@Elphin10:~$ sudo fuser -vvv /var/lib/dpkg/lock
sudo: unable to resolve host Elphin10
[sudo] password for patrick:
Sorry, try again.
[sudo] password for patrick:
patrick@Elphin10:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
patrick@Elphin10:~$
patrick@Elphin10:~$ uname -a
Linux Elphin10 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 17:34:21 UTC 2012 i686 i686 i386 GNU/Linux
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo rm /var/lib/
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo cp -arf /var/lib/dpkg /var/lib/
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo mv /var/lib/
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo cp /var/lib/
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo mv /var/lib/
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo cp /var/lib/
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo rm -rf /var/lib/
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo rm -rf /var/lib/apt/lists
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo rm /var/cache/
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo mkdir /var/lib/apt/lists
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo mkdir /var/lib/
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ LANG=C;sudo apt-get clean
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ LANG=C;sudo apt-get autoclean
sudo: unable to resolve host Elphin10
Reading package lists... Done
Building dependency tree
Reading state information... Done
patrick@Elphin10:~$
patrick@Elphin10:~$ LANG=C;sudo apt-get --purge autoremove
sudo: unable to resolve host Elphin10
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mawk (1.3.3-
Setting up libdpkg-perl (1.16.0.3ubuntu5.1) ...
Setting up dpkg-dev (1.16.0.3ubuntu5.1) ...
Setting up ubuntu-tweak (0.7.0-1~oneiric4) ...
Setting up update-manager-core (1:0.152.25.9) ...
Setting up update-manager (1:0.152.25.9) ...
patrick@Elphin10:~$ LANG=C;sudo apt-get update -o APT::Cache-
sudo: unable to resolve host Elphin10
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick InRelease
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty InRelease
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick Release.gpg
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty Release.gpg
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick Release
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty Release
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main TranslationIndex
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted TranslationIndex
Err cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main i386 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted i386 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main i386 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted i386 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main Translation-en
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted Translation-en
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main Translation-en
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted Translation-en
Ign http://
Ign http://
Ign http://
Ign http://
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://
Ign http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Ign 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://
Fetched 16.8 MB in 19s (879 kB/s)
W: Failed to fetch cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)
W: Failed to fetch cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)
W: Failed to fetch cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.
W: Failed to fetch cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.
E: Some index files failed to download. They have been ignored, or old ones used instead.
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo dpkg --configure -a
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ sudo dpkg --clear-avail
sudo: unable to resolve host Elphin10
patrick@Elphin10:~$
patrick@Elphin10:~$ LANG=C;sudo apt-get -f install
sudo: unable to resolve host Elphin10
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
patrick@Elphin10:~$
patrick@Elphin10:~$ LANG=C;sudo apt-get --fix-missing install
sudo: unable to resolve host Elphin10
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
patrick@Elphin10:~$
patrick@Elphin10:~$ LANG=C;sudo apt-get update -o APT::Cache-
sudo: unable to resolve host Elphin10
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick InRelease
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty InRelease
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick Release.gpg
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty Release.gpg
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick Release
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty Release
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main TranslationIndex
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted TranslationIndex
Err cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main i386 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted i386 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main i386 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted i386 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/main Translation-en
Ign cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007) maverick/restricted Translation-en
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main Translation-en
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted Translation-en
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
W: Failed to fetch cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)
W: Failed to fetch cdrom://Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)
W: Failed to fetch cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.
W: Failed to fetch cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.
E: Some index files failed to download. They have been ignored, or old ones used instead.
patrick@Elphin10:~$ ^C
patrick@Elphin10:~$
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Patrick Wilson for more information if necessary.