somehow between a "dist-upgrade -d" and actually running the dist-upgrade, a file was corrupted. chromium-browser might not have installed completely. i purged and re-installed multiple times and still got the same error messages. now iceweasel is similarly affected.
Code:
root@siduxbox2:/home/ike# apt-get dist-upgrade -d
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.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Download complete and in download only mode
i ran both "apt-get -f install" and "dpkg --configure -a"
Code:
root@siduxbox2:/home/ike# 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.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up chromium-browser (9.0.597.0~svn20101130r67658-1.frickel.1) ...
update-alternatives: error: /var/lib/dpkg/alternatives/gnome-www-browser corrupt: invalid status
dpkg: error processing chromium-browser (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up iceweasel (3.5.16-1) ...
configured to not write apport reports
update-alternatives: error: /var/lib/dpkg/alternatives/gnome-www-browser corrupt: invalid status
dpkg: error processing iceweasel (--configure):
subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
chromium-browser
iceweasel
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@siduxbox2:/home/ike# dpkg --configure -a
Setting up chromium-browser (9.0.597.0~svn20101130r67658-1.frickel.1) ...
update-alternatives: error: /var/lib/dpkg/alternatives/gnome-www-browser corrupt: invalid status
dpkg: error processing chromium-browser (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
chromium-browser
Code:
root@siduxbox2:/home/ike# apt-cache policy chromium-browser
chromium-browser:
Installed: 9.0.597.0~svn20101130r67658-1.frickel.1
Candidate: 9.0.597.0~svn20101130r67658-1.frickel.1
Version table:
*** 9.0.597.0~svn20101130r67658-1.frickel.1 0
500 http://frickelplatz.de/debian/ sid/main i386 Packages
100 /var/lib/dpkg/status
6.0.472.63~r59945-3 0
500 http://ftp.at.debian.org/debian/ unstable/main i386 Packages
root@siduxbox2:/home/ike# apt-cache policy iceweasel
iceweasel:
Installed: 3.5.16-1
Candidate: 3.5.16-1
Version table:
*** 3.5.16-1 0
500 http://ftp.at.debian.org/debian/ unstable/main i386 Packages
100 /var/lib/dpkg/status
they seem to be running fine, but what could i do to get rid of these errors?
thank you so much, ike.
edit: i looked into the file /var/lib/dpkg/alternatives/gnome-www-browser and it was indeed corrupt. it said nothing about browsers, but instead talked about libgudev... so i replaced it with the same file from another similar aptosid system and ran "apt-get -f install".
Code:
root@siduxbox2:/home/ike# apt-get dist-upgrade -d
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.
i hope this is ok. i will mark this post "solved". |