[Aptitude-devel] Bug#841506: aptitude: cannot reinstall package available as update

Jonas Smedegaard dr at jones.dk
Mon Mar 6 23:53:55 UTC 2017


Quoting Manuel A. Fernandez Montecelo (2017-03-06 22:33:18)
> Control: tags -1 + moreinfo
> 
> 
> Hi Jonas,
> 
> 2016-10-21 11:22 Jonas Smedegaard:
> >Package: aptitude
> >Version: 0.8.3-1+b1
> >Severity: important
> >
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA256
> >
> >Aptitude has thrown me into limbo (hence severity important):
> >
> >A kernel update failed (ran out of space in /boot, and/or bugs in kernel
> >hooks for sicherboot), flagging it as needing a reinstall.
> >
> >Choosing "L" to reinstall and then "G", is refused with (in danish, on
> >my system) a message saying that no packages will be installed, removed
> >or upgraded, some packages could be upgraded, and I should press "U" to
> >do that.
> >
> >Seems that check is missing the option of reinstall in its logic.
> 
> I think that the problem might be that it cannot use the same version of
> the package to download, if it's not available in the list of packages,
> so it cannot do nothing, other than suggesting to upgrade.

Not sure I follow what you are saying above.  Seems you are saying that 
you suspect that pressing "L" cannot work.  I have reinstalled packages 
before in that way.


> Do you remember if it allowed you to fix the system by using "+"
> (install or upgrade) instead?

No, I did not try to use "+": Aptitude explicitly told that it needed 
_reinstall_ and it worked to _request_ a reinstall but then failed to 
_execute_ the request. Frankly didn't occur to me to try trick aptitude 
by requesting an _update_ for a package with no newer version available 
but in broken state.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20170307/35b6d9f0/attachment.sig>


More information about the Aptitude-devel mailing list