LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-25-2011, 01:32 AM   #1
bbmak
Member
 
Registered: May 2004
Posts: 178

Rep: Reputation: 31
apt-listbugs, how to upgrade the good packages only?


I have used apt-listbugs for awhile, but are there anyway that I can only upgrade the packages that are marked done, the good packages?

Last edited by bbmak; 10-25-2011 at 01:44 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-25-2011, 02:46 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
If apt-listbugs shows a bug for a particular package and the bug looks relevant to your system, cancel the upgrade and forbid that particular version from being installed, e.g.

Code:
aptitude forbid-version foo=0.1.2-2
Then when version 0.1.2-3 is released it will upgrade as normal.
 
2 members found this post helpful.
Old 10-25-2011, 09:33 AM   #3
bbmak
Member
 
Registered: May 2004
Posts: 178

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by caravel View Post
If apt-listbugs shows a bug for a particular package and the bug looks relevant to your system, cancel the upgrade and forbid that particular version from being installed, e.g.

Code:
aptitude forbid-version foo=0.1.2-2
Then when version 0.1.2-3 is released it will upgrade as normal.
Is this command able to use with apt-listbugs? Can it be automatic marked not install? aptitude forbid-version markauto? <-- is this auto mark?

Last edited by bbmak; 10-25-2011 at 09:36 AM.
 
Old 10-25-2011, 10:57 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
It's not automatic, and it doesn't work like that - Sid in general doesn't work like that and I'm assuming you're running Sid, otherwise you wouldn't really need apt-listbugs at all? Marking packages as manually or automatically installed is a completely different thing.
 
Old 10-25-2011, 11:12 AM   #5
bbmak
Member
 
Registered: May 2004
Posts: 178

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by caravel View Post
It's not automatic, and it doesn't work like that - Sid in general doesn't work like that and I'm assuming you're running Sid, otherwise you wouldn't really need apt-listbugs at all? Marking packages as manually or automatically installed is a completely different thing.
Yes, I am on sid.
Are there a repo that offer stable version with more updated packages for debian?
 
Old 10-25-2011, 11:23 AM   #6
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
One compromise is to run testing. It gets fewer bugs but packages can just disappear out of the testing branch and get stuck in unstable due to release critical bugs - this is because testing is an auto generated distribution. There is nothing stopping you from tracking testing as the default release and bringing in the odd package from unstable however, but it can involve apt pinning which involves manual configuration and maintenance. This is what's known as a mixed testing/unstable system.

If you want stability and less maintenance then you need the stable release. The stable release almost never gets version updates, but does get security patching and bug fixes. If you find some software is out of date then you can install newer packages from the backports repo, or learn to backport your own packages from the unstable or testing package source.

Last edited by cynwulf; 10-25-2011 at 11:25 AM.
 
Old 10-25-2011, 04:18 PM   #7
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
Originally Posted by bbmak View Post
Yes, I am on sid.
Are there a repo that offer stable version with more updated packages for debian?
http://backports-master.debian.org/
which would be kinda official.

there is also the Mepis community repo:
http://www.mepiscommunity.org/node/842

which would not be kinda official, but seems ok to me.

In my humble opinion the best is to fiddle with package-management as little as possible
(as few repositories, third-party apps, pinning, etc, as possible.) That way even Sid should run rather stable.

Last edited by j1alu; 10-25-2011 at 04:21 PM.
 
Old 10-25-2011, 07:05 PM   #8
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
Quote:
Originally Posted by bbmak View Post
I have used apt-listbugs for awhile, but are there anyway that I can only upgrade the packages that are marked done, the good packages?
Abort an apt-get dist-upgrade and use a aptitude full-upgrade instead for this one instance, then at the prompt you can use ' -rsync ' then enter to finish.

Code:
root@sid:/home/chevy# aptitude install gettext ri ruby-dev ruby1.8-examples ri1.8
The following NEW packages will be installed:
  autopoint{a} gettext git{a} git-man{a} liberror-perl{a} ri ri1.8 rsync{a} ruby-dev ruby1.8-dev{a} ruby1.8-examples 
The following packages will be REMOVED:
  libabiword-2.8{u} tcl{u} tcl8.4{u} tcl8.5{u} 
0 packages upgraded, 11 newly installed, 4 to remove and 0 not upgraded.
Need to get 12.1 MB of archives. After unpacking 54.4 MB will be used.
Do you want to continue? [Y/n/?] -rsync
The following NEW packages will be installed:
  autopoint{a} gettext git{a} git-man{a} liberror-perl{a} ri ri1.8 ruby-dev ruby1.8-dev{a} ruby1.8-examples 
The following packages will be REMOVED:
  libabiword-2.8{u} tcl{u} tcl8.4{u} tcl8.5{u} 
The following packages are RECOMMENDED but will NOT be installed:
  rsync 
0 packages upgraded, 10 newly installed, 4 to remove and 0 not upgraded.
Need to get 11.7 MB of archives. After unpacking 53.6 MB will be used.
Do you want to continue? [Y/n/?]
apt-get can handle problems better at times than aptitude sometimes aptitude is needed. Be sure to read man aptitude also.
 
  


Reply

Tags
apt-listbugs, good packages



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will apt-listbugs work with backports.org packages? Chriswaterguy Debian 3 02-04-2009 06:32 AM
apt-get upgrade stopped, how can I remove packages before continuing upgrade? [KIA]aze Linux - Newbie 4 05-31-2007 07:49 AM
Where is apt-listbugs ? samael26 Debian 1 07-14-2006 01:39 PM
Is it safe to upgrade to KDE 3.3 with this apt-listbugs report? r3dhatter Debian 10 01-16-2005 12:59 AM
How to use apt-listbugs nacha Debian 5 07-28-2004 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration