"firefox" dumb package stops the upgrade show for untechy users

Projet:Trisquel
Version:6.0
Composant:Packages
Catégorie:Rapporter un bogue
Priorité:normal
Attribué:Non assigné
Statut:wrong
Description

This bug make it impossible to install GNOME (package name trisquel) or KDE (package name triskel) via apt:

apt-get update && apt-get dist-upgrade
apt-get install trisquel
Errors were encountered while processing:
/var/cache/apt/archives/abrowser_20.0+build1-0ubuntu0.12.04.3+6.0trisquel4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I thought the package had been repaired but apparently not. My system is down once again.

mer, 05/08/2013 - 09:50

After the above, I did:

beloved@trisquel:~$ sudo apt-get install trisquel
Reading package lists... Done
Building dependency tree
Reading state information... Done
trisquel is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
abrowser-globalmenu : Depends: abrowser (= 20.0+build1-0ubuntu0.12.04.3+6.0trisquel4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

beloved@trisquel:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-38 fwbuilder-doc linux-image-3.2.0-38-generic fwbuilder-common linux-headers-3.2.0-38-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
abrowser
Suggested packages:
latex-xft-fonts abrowser-gnome-support
The following NEW packages will be installed:
abrowser
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
271 not fully installed or removed.
Need to get 0 B/25.0 MB of archives.
After this operation, 55.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: warning: ignoring option --foreign-architecture=@MULTIARCH@: must start with an alphanumeric
(Reading database ... 232266 files and directories currently installed.)
Unpacking abrowser (from .../abrowser_20.0+build1-0ubuntu0.12.04.3+6.0trisquel4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/abrowser_20.0+build1-0ubuntu0.12.04.3+6.0trisquel4_amd64.deb (--unpack):
trying to overwrite '/usr/lib/abrowser-addons/searchplugins/trisquel.xml', which is also in package firefox 16.0.1+build1-0ubuntu0.12.04.1+6.0trisquel1
No apport report written because MaxReports is reached already
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/abrowser_20.0+build1-0ubuntu0.12.04.3+6.0trisquel4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

dim, 05/12/2013 - 18:17

Firefox is not a real package:

$ LANG=C aptitude show firefox
No current or candidate version found for firefox
Package: firefox
State: not a real package
Provided by: abrowser

Do:

$ sudo rm /etc/dpkg/dpkg.cfg.d/multiarch
$ sudo aptitude purge firefox~A

And try again.

mar, 05/14/2013 - 23:51

That works. Just don't forget to reinstall abrowser again, which this time wont hazzle with apt as it did before.

Heres the full solution: sudo rm /etc/dpkg/dpkg.cfg.d/multiarch && aptitude purge firefox~A && apt-get install abrowser

mer, 05/15/2013 - 16:14
Titre:abrowser 20.0 broken» "firefox" dumb package stops the upgrade show for untechy users

Good. Just one thing: I wrote "aptitude" because I use it instead of apt-get; I've read it's not good to use one after another because they manage the package database in somehow incompatible ways. You better use "apt-get purge; apt-get install" or aptitude in both commands (though I do not know if apt-get supports aptitude's search patterns like "~A").

Link to the offending "firefox" package: http://packages.trisquel.info/toutatis/firefox

sam, 10/11/2014 - 03:21
Priorité:critical» normal
Statut:active» needs more info

Given the time which has passed since the last update it would appear this issue has been fixed. Please comment if this is not the case.

@SirGrant please mark fixed.

sam, 10/11/2014 - 12:25
Version:6.0» 7.0
Statut:needs more info» fixed
sam, 10/25/2014 - 12:30
Statut:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

mer, 08/12/2015 - 20:18
Version:7.0» 6.0

I'm not sure if this issue was related to Trisquel 6.0 or 7.0. Sorry.

mer, 08/12/2015 - 20:18
Statut:closed» wrong