Unable to fix damaged packages in synaptic

Asked by aurum

aurum@T1-72SSV1:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for aurum:
aurum@T1-72SSV1:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"
aurum@T1-72SSV1:~$ uname -a
Linux T1-72SSV1 2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:40:58 UTC 2011 i686 GNU/Linux
aurum@T1-72SSV1:~$ sudo rm /var/lib/apt/lists/lock
aurum@T1-72SSV1:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
aurum@T1-72SSV1:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
aurum@T1-72SSV1:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
aurum@T1-72SSV1:~$ sudo rm -rf /var/lib/dpkg/updates/*
aurum@T1-72SSV1:~$ sudo rm -rf /var/lib/apt/lists
aurum@T1-72SSV1:~$ sudo rm /var/cache/apt/*.bin
aurum@T1-72SSV1:~$ sudo mkdir /var/lib/apt/lists
aurum@T1-72SSV1:~$ sudo mkdir /var/lib/apt/lists/partial
aurum@T1-72SSV1:~$ LANG=C;sudo apt-get clean
aurum@T1-72SSV1:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
aurum@T1-72SSV1:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-2.6.35-22* linux-headers-2.6.35-22-generic*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 90.2MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ...
dpkg: warning: files list file for package `ubuntu-xsplash-artwork' missing, assuming package has no files currently installed.
(Reading database ... 150575 files and directories currently installed.)
Removing linux-headers-2.6.35-22-generic ...
Removing linux-headers-2.6.35-22 ...
aurum@T1-72SSV1:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Get:1 http://extras.ubuntu.com maverick Release.gpg [72B]
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en
Get:2 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu/ maverick/main Translation-en
Get:3 http://ppa.launchpad.net maverick Release.gpg [316B]
Get:4 http://archive.ubuntu.com maverick Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Ign http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ maverick/main Translation-en
Get:5 http://ppa.launchpad.net maverick Release.gpg [316B]
Get:6 http://extras.ubuntu.com maverick Release [9762B]
Ign http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ maverick/main Translation-en
Get:7 http://ppa.launchpad.net maverick Release [9759B]
Ign http://archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Get:8 http://archive.ubuntu.com maverick-updates Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Get:9 http://archive.ubuntu.com maverick-security Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Get:10 http://archive.ubuntu.com maverick Release [39.8kB]
Get:11 http://ppa.launchpad.net maverick Release [9750B]
Get:12 http://ppa.launchpad.net maverick Release [9753B]
Get:13 http://extras.ubuntu.com maverick/main Sources [1073B]
Get:14 http://ppa.launchpad.net maverick/main Sources [1658B]
Get:15 http://ppa.launchpad.net maverick/main i386 Packages [3713B]
Get:16 http://ppa.launchpad.net maverick/main i386 Packages [582B]
Get:17 http://extras.ubuntu.com maverick/main i386 Packages [1216B]
Get:18 http://archive.ubuntu.com maverick-updates Release [31.4kB]
Get:19 http://ppa.launchpad.net maverick/main Sources [2459B]
Get:20 http://ppa.launchpad.net maverick/main i386 Packages [3522B]
Get:21 http://archive.ubuntu.com maverick-security Release [31.4kB]
Get:22 http://archive.ubuntu.com maverick/main Sources [829kB]
Get:23 http://archive.ubuntu.com maverick/restricted Sources [4370B]
Get:24 http://archive.ubuntu.com maverick/universe Sources [4179kB]
Get:25 http://archive.ubuntu.com maverick/multiverse Sources [151kB]
Get:26 http://archive.ubuntu.com maverick/main i386 Packages [1492kB]
Get:27 http://archive.ubuntu.com maverick/restricted i386 Packages [5992B]
Get:28 http://archive.ubuntu.com maverick/universe i386 Packages [5791kB]
Get:29 http://archive.ubuntu.com maverick/multiverse i386 Packages [183kB]
Get:30 http://archive.ubuntu.com maverick-updates/main Sources [93.4kB]
Get:31 http://archive.ubuntu.com maverick-updates/restricted Sources [778B]
Get:32 http://archive.ubuntu.com maverick-updates/universe Sources [38.8kB]
Get:33 http://archive.ubuntu.com maverick-updates/multiverse Sources [1496B]
Get:34 http://archive.ubuntu.com maverick-updates/main i386 Packages [255kB]
Get:35 http://archive.ubuntu.com maverick-updates/restricted i386 Packages [1797B]
Get:36 http://archive.ubuntu.com maverick-updates/universe i386 Packages [114kB]
Get:37 http://archive.ubuntu.com maverick-updates/multiverse i386 Packages [2844B]
Get:38 http://archive.ubuntu.com maverick-security/main Sources [33.1kB]
Get:39 http://archive.ubuntu.com maverick-security/restricted Sources [14B]
Get:40 http://archive.ubuntu.com maverick-security/universe Sources [13.4kB]
Get:41 http://archive.ubuntu.com maverick-security/multiverse Sources [649B]
Get:42 http://archive.ubuntu.com maverick-security/main i386 Packages [112kB]
Get:43 http://archive.ubuntu.com maverick-security/restricted i386 Packages [14B]
Get:44 http://archive.ubuntu.com maverick-security/universe i386 Packages [53.5kB]
Get:45 http://archive.ubuntu.com maverick-security/multiverse i386 Packages [1660B]
Fetched 13.5MB in 18s (751kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu/ maverick/main i386 Packages (/var/lib/apt/lists/ppa.launchpad.net_pidgin-developers_ppa_ubuntu_dists_maverick_main_binary-i386_Packages)
W: Duplicate sources.list entry http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu/ maverick/main i386 Packages (/var/lib/apt/lists/ppa.launchpad.net_pidgin-developers_ppa_ubuntu_dists_maverick_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
aurum@T1-72SSV1:~$ sudo dpkg --clear-avail
aurum@T1-72SSV1:~$ sudo dpkg --configure -a
aurum@T1-72SSV1:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
aurum@T1-72SSV1:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
aurum@T1-72SSV1:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Hit http://extras.ubuntu.com maverick Release.gpg
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu/ maverick/main Translation-en
Hit http://ppa.launchpad.net maverick Release.gpg
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Ign http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ maverick/main Translation-en
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ maverick/main Translation-en
Hit http://extras.ubuntu.com maverick Release
Ign http://archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Hit http://archive.ubuntu.com maverick-updates Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.ubuntu.com maverick-security Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Hit http://extras.ubuntu.com maverick/main Sources
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Hit http://archive.ubuntu.com maverick Release
Hit http://archive.ubuntu.com maverick-updates Release
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://extras.ubuntu.com maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick-security Release
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/main Sources
Hit http://archive.ubuntu.com maverick/restricted Sources
Hit http://archive.ubuntu.com maverick/universe Sources
Hit http://archive.ubuntu.com maverick/multiverse Sources
Hit http://archive.ubuntu.com maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/restricted i386 Packages
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://archive.ubuntu.com maverick/multiverse i386 Packages
Hit http://archive.ubuntu.com maverick-updates/main Sources
Hit http://archive.ubuntu.com maverick-updates/restricted Sources
Hit http://archive.ubuntu.com maverick-updates/universe Sources
Hit http://archive.ubuntu.com maverick-updates/multiverse Sources
Hit http://archive.ubuntu.com maverick-updates/main i386 Packages
Hit http://archive.ubuntu.com maverick-updates/restricted i386 Packages
Hit http://archive.ubuntu.com maverick-updates/universe i386 Packages
Hit http://archive.ubuntu.com maverick-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com maverick-security/main Sources
Hit http://archive.ubuntu.com maverick-security/restricted Sources
Hit http://archive.ubuntu.com maverick-security/universe Sources
Hit http://archive.ubuntu.com maverick-security/multiverse Sources
Hit http://archive.ubuntu.com maverick-security/main i386 Packages
Hit http://archive.ubuntu.com maverick-security/restricted i386 Packages
Hit http://archive.ubuntu.com maverick-security/universe i386 Packages
Hit http://archive.ubuntu.com maverick-security/multiverse i386 Packages
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
aurum@T1-72SSV1:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
aurum (narude) said :
#1

This issue started from trying to remove Plymouth Manager, it won't go away...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Ok so the issue is:

dpkg: warning: files list file for package `ubuntu-xsplash-artwork' missing, assuming package has no files currently installed.

try:

sudo apt-get --reinstall install ubuntu-xsplash-artwork

May help.You should also either remove the pidgin PPA from /etc/apt/sources.list or remove it from software centre as you have duplicated the PPA

Can you help with this problem?

Provide an answer of your own, or ask aurum for more information if necessary.

To post a message you must log in.