DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Rep:
apt-listbugs questions
I installed listbugs. Now when I run apt-get upgrade or apt-get dist-upgrade, it presents me with the synopsis of what is going to be upgraded, installed, removed etc., and asks if I want to continue. I say yes, and it then starts to run and generates the bug report. After listing the bug report, it asks if I am sure I want to install/upgrade the above packages. If I say no, it cancels the whole upgrade process. How do I upgrade the good files without upgrading the files that contain bugs? I have googled this and looked in the APT How-to, and can't even find anything on the subject.
I believe you can pin the packages you have that have a bug in the upgrade by pressing p. Then the process will end and you will have to run it again. This time it should upgrade only those packages that are left.
First of all, some bug reports that apt-listbugs shows are marked as <done>, and these packages should be safe to install. Only those marked as <open> are the ones you'll want to avoid from installing.
I use aptitude to manage packages and in aptitude it's easy to mark a package to be freezed (and not upgraded) by highlighting the package and pressing "=". It's also easy to unfreeze packages with "+". I haven't use Synaptic in ages, but I seem to recall that this was easy also in Synaptic. Or you can use dpkg to "hold" packages but I'll leave it to someone else to explain how to do this.
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Original Poster
Rep:
I read the man page for apt-listbugs. It did list all of the options, but I did not see any that would allow me to install all of the good files and not install the bugged files. Plus, listbugs is automatically running as part of apt-get upgrade. Is there a way to configure apt-listbugs to allow me to continue on with the upgrade without upgrading the files that are in the bug list?
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506
Rep:
Ya awhile back I sent an email to the apt-listbug guy about makeing the question of weather or not to continue to mean yes or no for the bug mentioned and not the other packages in an upgrade.
Never got a reply and or a new version.
No biggy,I use aptitude as well and can pin it to hold a pakage but,I have always just went ahead and said yes
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Original Poster
Rep:
For some reason, I misunderstood edwines first post about hitting P to pin the buggy upgrades. I did that and reran apt-get dist-upgrade and it installed the good updates just fine. Thanks for the help!!
Originally posted by Tons of Fun For some reason, I misunderstood edwines first post about hitting P to pin the buggy upgrades. I did that and reran apt-get dist-upgrade and it installed the good updates just fine. Thanks for the help!!
Another solution to the problem would be to go to the Debian bug database and check the bugs. Most times the bug is for some old version of the package you are installing thus you would actually be getting the fixed package during the install and more than a few of them bugs you see listed are stupidness on the part of clueless users reporting things that are not even bugs or bugs that apply to another package. BTW have you heard of apt-listchanges it is similar to apt-listbugs in that it will show you the changelogs of the packages you are installing there is some good information in there sometimes. One more thing if you are using Konqueror for a web browser or have it installed you can type into the Location bar dbug:bug_number then enter and it will take you directly to the Debian bug page.
I'd also like to add to the above information that aptitude has a very cool feature, similar to apt-listchanges. You can highlight a package and press Shift-c (like in uppercase C) and with most packages this will fetch and show you the changelog of a package. This can be quite useful with some packages when you want to view what has actually changed between different release versions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.