Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #221911
| From | Vincent Lefevre <vincent@vinc17.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: cleanly getting rid of manually installed transitional packages due to rename |
| Date | 2020-04-24 21:10 +0200 |
| Message-ID | <zZbS1-2BQ-3@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <zYk1k-3Wg-9@gated-at.bofh.it> <zYkNH-4rN-5@gated-at.bofh.it> <zYuN5-23s-39@gated-at.bofh.it> <zYynD-3XY-3@gated-at.bofh.it> <zYPov-5XI-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2020-04-23 13:59:29 -0500, David Wright wrote: > On Thu 23 Apr 2020 at 02:53:06 (+0200), Vincent Lefevre wrote: > > On 2020-04-22 16:07:28 -0500, David Wright wrote: > > > For trivial renames, which yours looks like, as do those I've done, > > > it would be pretty easy to script. I've never made the effort, > > > because it's not something I do frequently enough, usually just once, > > > soon after I start running a new release on the first computer. Then > > > I adjust the list of packages used for the rest of them. Manually: > > > > > > $ apt-get -s purge pdftk > > > The following package was automatically installed and is no longer required: > > > pdftk-java > > > Use 'apt autoremove' to remove it. > > > # apt-mark manual pdftk-java > > > pdftk-java set to manually installed. > > > $ apt-get -s purge pdftk > > > # apt-get purge pdftk > > > Removing pdftk (2.02-5) ... > > > > > > (Routine output edited out.) The first step can list more packages, > > > so checking the Depends line for the original package should show > > > which is the replacement. > > > > I think that you are over-optimistic. Imagine the following case. > > The pdftk package has been manually installed in the past > > Right… > > > and is > > not a transitional package to pdftk-java > > OK, let's pretend that is true… > (Not changing the names may be confusing.) > > > (currently, this is like > > your example). > > I can't determine what you mean by this, so I'm ignoring it. > > > But the system has some package that depends on > > pdftk-java. So, when you run > > > > apt-get -s purge pdftk > > > > you won't have any message about pdftk-java. > > Why would I suddenly decide to purge pdftk? I installed it for a > reason and, if it's not transitional, it's still fulfilling that > purpose. Since you don't want to purge pdftk, why did you decide to purge it above? > > Later in the future, > > the dependency on pdftk-java disappears, so that pdftk-java will > > be proposed for autoremoval. > > No, because I'm not removing pdftk in the first place, so the rest > of this hypothetical scenario is flawed, hence ignored: But you did purge it. I don't follow you. -- Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
cleanly getting rid of manually installed transitional packages due to rename Vincent Lefevre <vincent@vinc17.net> - 2020-04-21 17:20 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename nito@dismail.de - 2020-04-21 17:50 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Vincent Lefevre <vincent@vinc17.net> - 2020-04-21 18:00 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename deloptes <deloptes@gmail.com> - 2020-04-21 21:10 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Vincent Lefevre <vincent@vinc17.net> - 2020-04-22 01:30 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename deloptes <deloptes@gmail.com> - 2020-04-22 08:40 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Vincent Lefevre <vincent@vinc17.net> - 2020-04-22 10:10 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename deloptes <deloptes@gmail.com> - 2020-04-22 22:30 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Jonathan Dowland <jon+debian-user@dow.land> - 2020-05-14 11:20 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Sven Joachim <svenjoac@gmx.de> - 2020-04-21 19:10 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-22 11:40 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Vincent Lefevre <vincent@vinc17.net> - 2020-04-22 12:30 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename David Wright <deblis@lionunicorn.co.uk> - 2020-04-22 23:10 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Vincent Lefevre <vincent@vinc17.net> - 2020-04-23 03:00 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename David Wright <deblis@lionunicorn.co.uk> - 2020-04-23 21:10 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Vincent Lefevre <vincent@vinc17.net> - 2020-04-24 21:10 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename David Wright <deblis@lionunicorn.co.uk> - 2020-04-25 06:50 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Vincent Lefevre <vincent@vinc17.net> - 2020-04-25 21:50 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename David Wright <deblis@lionunicorn.co.uk> - 2020-04-28 17:30 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Vincent Lefevre <vincent@vinc17.net> - 2020-05-06 12:40 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename David Wright <deblis@lionunicorn.co.uk> - 2020-05-08 01:30 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Vincent Lefevre <vincent@vinc17.net> - 2020-05-12 12:20 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename David Wright <deblis@lionunicorn.co.uk> - 2020-05-13 17:50 +0200
Re: cleanly getting rid of manually installed transitional packages due to rename Andrei POPESCU <andreimpopescu@gmail.com> - 2020-05-14 07:50 +0200
csiph-web