[Aptitude-devel] Bug#863755: [aptitude] "This code path should not be reached" message with some override specifiers

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Tue Jun 6 20:39:56 UTC 2017


Control: tags -1 + moreinfo


Hi Katsuhiko,

2017-05-31 06:13 Katsuhiko Nishimra:
>Package: aptitude
>Version: 0.8.7-1
>Severity: normal
>
>Dear maintainer,
>
>I've found that "$aptitude -s install firefox firefox-l10n-ja:" emits
>"This code path should not be reached (now implemented in cmdline_mark)".
>
>'keep' and 'hold' specifier emit this message and 'install', 'remove'
>and 'purge' specifier do not.

I am not sure that I understand, the phrases above sound contradictory.

In the 1st paragraph you say that it's install the one emitting the
phrase, in the second you say that keep and hold do emit, while others
(including install) do not.


Additionally, I tried to reproduce it and I cannot, I leave the
transcript below.


So if you have any idea that can help me to reproduce it, please tell;
otherwise I'll leave open to see if other people find the same problem
and can help.


==========================================
$ aptitude -s install firefox firefox-l10n-ja
firefox is already installed at the requested version (53.0.is.53.0-1)
firefox is already installed at the requested version (53.0.is.53.0-1)
The following NEW packages will be installed:
  firefox-l10n-ja{b}
  0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 563 kB of archives. After unpacking 707 kB will be used.
The following packages have unmet dependencies:
  firefox-l10n-ja : Depends: firefox (< 53.0.is.52.0.2-1.1~) but 53.0.is.53.0-1 is installed
The following actions will resolve these dependencies:

  Keep the following packages at their current version:
  1)     firefox-l10n-ja [Not Installed]



Accept this solution? [Y/n/q/?]
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Would download/install/remove packages.

$ aptitude -s keep firefox firefox-l10n-ja
Would mark package firefox as keep (or unhold)
Would mark package firefox-l10n-ja as keep (or unhold)

$ aptitude -s hold firefox firefox-l10n-ja
Would mark package firefox as hold
Would mark package firefox-l10n-ja as hold

$ aptitude hold firefox firefox-l10n-ja
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

$ sudo aptitude hold firefox firefox-l10n-ja

$ sudo aptitude hold firefox firefox-l10n-ja

$ sudo aptitude install firefox firefox-l10n-ja
firefox is already installed at the requested version (53.0.is.53.0-1)
firefox is already installed at the requested version (53.0.is.53.0-1)
The following NEW packages will be installed:
  firefox-l10n-ja{b}
  0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 563 kB of archives. After unpacking 707 kB will be used.
The following packages have unmet dependencies:
  firefox-l10n-ja : Depends: firefox (< 53.0.is.52.0.2-1.1~) but 53.0.is.53.0-1 is installed
  The following actions will resolve these dependencies:

Keep the following packages at their current version:
  1)     firefox-l10n-ja [Not Installed]



Accept this solution? [Y/n/q/?]
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

$ sudo aptitude -s keep firefox
Would mark package firefox as keep (or unhold)

$ aptitude -s keep firefox
Would mark package firefox as keep (or unhold)

$ aptitude -s install firefox
firefox is already installed at the requested version (53.0.is.53.0-1)
firefox is already installed at the requested version (53.0.is.53.0-1)
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Would download/install/remove packages.
==========================================


-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list