LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2015, 02:12 AM   #1
friedel86
LQ Newbie
 
Registered: Dec 2015
Distribution: Debian Jessie
Posts: 4

Rep: Reputation: Disabled
Apt-get - accept upgrades but no downgrades


Dear Community,
I recently installed a backport for my graphics-drivers (xserver-xorg-video-intel). When I try to update my system (Debian Jessie stable) using sudo apt-get update && sudo apt-get upgrade, apt suggests to do some upgrades, which I would really like to have, but also to do a downgrade for the xserver-xorg-video-intel package, which I don't want to do.

Is there a way to disable or permanently decline the downgrade of a certain package in apt?

When I accept the downgrade my Windowmanager complains that it is running in software rendering mode and the cpu usage increases drastically.

Thanks a lot!
 
Old 12-16-2015, 02:55 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,197

Rep: Reputation: 164Reputation: 164
Your post makes no sense.

A backport ususally updates packages.
 
Old 12-16-2015, 03:08 AM   #3
friedel86
LQ Newbie
 
Registered: Dec 2015
Distribution: Debian Jessie
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Keruskerfuerst View Post
...

A backport ususally updates packages.
Exactly and after that said update Apt offers me whenever I run apt-get upgrade, to DOWNGRADE that package to the older version, that was installed before the backport upgrade.
Let me try this:
Problem with graphics -> I install a newer version from backports -> few days later I run my regular updates -> Apt suggests to downgrade to the version before backport.

I hope I made it a bit more understandable what my problem is.
EDIT:
This is the interesting part of my "apt-get update && apt-get upgrade" output:
Code:
The following packages will be upgraded:
  bind9-host cups-browsed cups-filters cups-filters-core-drivers dnsutils host libbind9-90
  libcupsfilters1 libdns-export100 libdns100 libfontembed1 libirs-export91 libisc-export95
  libisc95 libisccc90 libisccfg-export90 libisccfg90 liblwres90
The following packages will be DOWNGRADED:
  xserver-xorg-video-intel
18 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
I would like to decline the downgrade permanently (or if that is not possible: decline it whenever i run an upgrade manually).

Last edited by friedel86; 12-16-2015 at 03:17 AM. Reason: Added apt message
 
Old 12-16-2015, 03:49 AM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,755

Rep: Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565
Code:
apt-cache policy xserver-xorg-video-intel
?
 
Old 12-16-2015, 03:56 AM   #5
friedel86
LQ Newbie
 
Registered: Dec 2015
Distribution: Debian Jessie
Posts: 4

Original Poster
Rep: Reputation: Disabled
The output of apt-cache policy xserver-xorg-video-intel is as follows:
Code:
sudo apt-cache policy xserver-xorg-video-intel
xserver-xorg-video-intel:
  Installed: 2:2.99.917-2~bpo8+1
  Candidate: 2:2.21.15-2+b2
  Version table:
 *** 2:2.99.917-2~bpo8+1 0
        100 http://http.debian.net/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     2:2.21.15-2+b2 0
       1001 http://http.debian.net/debian/ jessie/main amd64 Packages
I tried changing the order of the sources.list with no effect.
 
Old 12-16-2015, 04:10 AM   #6
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,755

Rep: Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565
Because you have set the priority of the main repo to 1001.
Why?
 
Old 12-16-2015, 04:20 AM   #7
friedel86
LQ Newbie
 
Registered: Dec 2015
Distribution: Debian Jessie
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by descendant_command View Post
Because you have set the priority of the main repo to 1001.
Why?
I had problems with batterymanagement after upgrading the kernel to testing. So i did a downgrade back to stable and forgot to remove the pinning.
I'm very sorry that i bothered you with my sloppyness.

Thank you, next time i will be more thoughtful
 
Old 12-16-2015, 04:26 AM   #8
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,755

Rep: Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565
No apologies required - we've all done similar

Sometimes a fresh set of eyes is required on a problem you are scratching your head over.

... and it's a good bit of info for other searchers.

Last edited by descendant_command; 12-16-2015 at 04:30 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Make apt-get Installations and Upgrades 26x faster with apt-fast LXer Syndicated Linux News 1 10-25-2010 05:14 PM
Custom apt-repository for sid apt-get upgrades Cyberman Debian 1 02-20-2009 12:21 PM
There is a way to do automatic upgrades in Slackware 9.1(like apt-get)? maxx_arg Slackware 25 07-12-2004 01:18 AM
APT--Kernel upgrades? Spotnik Red Hat 1 05-01-2004 10:01 AM
apt-get.org upgrades rdanda Debian 1 06-25-2003 05:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:29 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