SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#151 2012-05-13 12:03:38

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,271

Re: Apt Pinning and You: Living on the Edge with #!

Thanks much for this how to and to all the kewl #!'ers who contributed useful stuff to the topic. Can once again say with total conviction ...


"Use Debian ... or die !" tongue


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

Be excellent to each other!

#152 2012-05-19 11:16:52

VDP76
#! Junkie
From: Bayreuth, Germany
Registered: 2012-04-12
Posts: 433

Re: Apt Pinning and You: Living on the Edge with #!

hi,
thanks to the great first post by hardran3 I have managed to set my system to install from testing repos.. smile
I am using the following priorities

statler -- > 1001
squeeze --> 600
squeeze-backports --> 200
testing --> 100

and I am trying to install gstreamer0.10-gconf, but I get this error:

mattia@CB-Mattia:~$ sudo apt-get -t testing install gstreamer0.10-gconf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
E: Broken packages

can someone show me the way?? wink

edit: testing repos...

Last edited by VDP76 (2012-05-20 10:39:35)


We are a nice, friendly community here and I hope we stay that way.. smile

Offline

#153 2012-05-19 15:29:35

ivanovnegro
Ivan #000000
Registered: 2011-06-02
Posts: 5,260

Re: Apt Pinning and You: Living on the Edge with #!

^ But do you have Experimental in your sources list?

Offline

#154 2012-05-19 15:31:43

ivanovnegro
Ivan #000000
Registered: 2011-06-02
Posts: 5,260

Re: Apt Pinning and You: Living on the Edge with #!

@Bayreuthian: So why do you want to install it from Experimental if it is in Wheezy?

Offline

#155 2012-05-19 16:40:39

VDP76
#! Junkie
From: Bayreuth, Germany
Registered: 2012-04-12
Posts: 433

Re: Apt Pinning and You: Living on the Edge with #!

ivanovnegro wrote:

@Bayreuthian: So why do you want to install it from Experimental if it is in Wheezy?

eheh, good point...I just mixed up the terms..when I wrote "Experimental" it was supposed to be written "Testing"... roll sorry, I'll correct right now...

anyway, this are the sourced I have added:

## DEBIAN TESTING
deb http://ftp.de.debian.org/debian/ testing main
## TESTING SECURITY
deb http://security.debian.org/ wheezy/updates main

I have mixed up the terms also in the terminal commands, now the output in my first post is really using testing repos, but still gives an error...
@ivanovnegro: now I really got what you meant... wink

Last edited by VDP76 (2012-05-20 10:47:03)


We are a nice, friendly community here and I hope we stay that way.. smile

Offline

#156 2012-05-19 17:16:33

VastOne
#! Ranger
From: #! Fringe Division
Registered: 2011-04-26
Posts: 9,703
Website

Re: Apt Pinning and You: Living on the Edge with #!

@VDP76 - what exactly are you trying to get to work with these packages?  The dependencies for gstreamer0.10-gconf point in several directions, and not just a single app

Thanks..


VSIDO
If you build it, they will come...
Words That Build Or Destroy

Offline

#157 2012-05-20 09:52:06

VDP76
#! Junkie
From: Bayreuth, Germany
Registered: 2012-04-12
Posts: 433

Re: Apt Pinning and You: Living on the Edge with #!

VastOne wrote:

@VDP76 - what exactly are you trying to get to work with these packages?

Eventually I need to get gstreamer-properties to work...see here http://crunchbanglinux.org/forums/post/220584/#p220584


We are a nice, friendly community here and I hope we stay that way.. smile

Offline

#158 2012-06-12 02:21:13

h8uthemost
#! Junkie
Registered: 2011-08-09
Posts: 286

Re: Apt Pinning and You: Living on the Edge with #!

Ok, I'm finally going to take the plunge and apt-pin. Few questions before I do though:

1: Testing is probably the best one to pick, right? I don't want to include Unstable and Experimental. Just one.

2: This is what my etc/apt/preferences currently looks like:

Package: *
Pin: release n=statler
Pin-Priority: 1001

Package: *
Pin: release n=squeeze
Pin-Priority: 100

The TC recommends to set the priority for Testing to 400. Is this still the general consensus, or is there a different number I should pick?

3. And lastly, I've seen some people say to run sudo apt-get update && sudo apt-get upgrade and some say to only run sudo apt-get update. Will apt-get update suffice?


We are a nice, friendly community here and I hope we stay that way.

Offline

#159 2012-06-12 02:44:13

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,100

Re: Apt Pinning and You: Living on the Edge with #!

^ If you pinning is properly setup then sudo apt-get upgrade shouldn't be a problem.

Offline

#160 2012-06-13 04:25:51

lurka
New Member
From: New York
Registered: 2012-04-20
Posts: 8

Re: Apt Pinning and You: Living on the Edge with #!

Howdy!

Similarily to stonethumb's issue earlier on, apt wants to upgrade too many packages when I try to pull from testing. For example, I don't think emacs actually needs to be upgraded for me to download luakit.

EDIT- Shortened and summarized post.

Last edited by lurka (2012-06-15 02:54:56)

Offline

#161 2013-03-02 10:51:37

ChickenPie4Tea
#! Junkie
Registered: 2012-02-17
Posts: 338

Re: Apt Pinning and You: Living on the Edge with #!

If I wanted to update programs but NOT update my kernel as I have an old laptop and worry abt newer kernels) how would I stop the kernel updating.


beware the stasi

Offline

#162 2013-03-02 13:21:08

VastOne
#! Ranger
From: #! Fringe Division
Registered: 2011-04-26
Posts: 9,703
Website

Re: Apt Pinning and You: Living on the Edge with #!

If you have pinning setup correctly, you would not need to worry about it updating anything but what you tell it to update

From the original Post

hardran3 wrote:

Now we need to make sure these new sources do not update every package on our system. Open /etc/apt/preferences and replace its contents with the following.

Package: *
Pin: release a=testing
Pin-Priority: 400

Package: *
Pin: release a=unstable
Pin-Priority: 300

These set your priorities and 'rank' ...

Pinning should be viewed more as having the sources there so that you can get the apps individually

With the above setup you can then go for individual apps when needed. For example, I recently needed fluxbox from experimental so I did this:

sudo apt-get -t experimental install fluxbox

VSIDO
If you build it, they will come...
Words That Build Or Destroy

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo