SEARCH

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

You are not logged in.

#1 2012-08-02 21:17:29

damaru
Member
From: canada
Registered: 2011-12-13
Posts: 47
Website

pinning warldorf only to update Qt4 to Qt4.8y

Hi there,

I am trying to compile Sigil that requires Qt4.7 or higher, and debian stable backport only has 4.6.

So I am venturing in the world of pinning:

adding in my /ect/apt/source.list

    deb http://packages.crunchbang.org/waldorf waldorf main
    deb http://ftp.debian.org/debian/ testing main contrib non-free
    deb-src http://cdn.debian.net/debian/ testing main contrib non-free


Then creating a pinning file in  /etc/apt/preference.d/pinning

Package: *
Pin: release a=stable
Pin-Priority: 100

Package: *
Pin: origin deb http://packages.crunchbanglinux.org/waldorf/ waldorf main
Pin-Priority: 1

  Package: *
  Pin: a=testing
  Pin-Priority: 0

Now if all this is good how do I go about installing package from the waldorf repo

apt-get install Qt4/waldorf   ???

I prefer to ask first at this point before testing has I have been compilling too much on this system o break it with some apt pinning experimentation!

Anyhow, hope someone can help


ponnuki studio
ponnuki.net

Offline

Help fund CrunchBang, donate to the project!

#2 2012-08-02 21:47:06

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: pinning warldorf only to update Qt4 to Qt4.8y

You would not need anything from the CrunchBang waldorf repo, you need to pull what you need from Testing

Here is a good install guide

Where it says to get the dependencies

# now grab the build deps for the current qt (mostly the same as for 4.7.0)
sudo apt-get build-dep qt4-x11

# need to grab some extra libs that are not build deps
sudo apt-get install libphonon-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev

you will need to run it like this

# now grab the build deps for the current qt (mostly the same as for 4.7.0)
sudo apt-get -t testing install build-dep qt4-x11

# need to grab some extra libs that are not build deps
sudo apt-get -t testing install libphonon-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev

The -t testing is telling apt to grab the package and all it's dependencies from Testing.

You should make sure you have pinning setup correctly by doing a

apt-cache policy qt4-x11

from terminal and verify that it is seeing qt4-x11 from Testing.

It might be easier to update to Testing altogether, but that may be a stretch..


VSIDO | Words That Build Or Destroy

We do not run from challenges, they become new innovations within VSIDO!

Offline

#3 2012-08-02 23:11:10

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,431

Re: pinning warldorf only to update Qt4 to Qt4.8y

VastOne wrote:

It might be easier to update to Testing altogether, but that may be a stretch..

Honestly I would do this in the first place.

@damaru: Just take Waldorf. I think pinning the whole Qt is not that useful as with other stuff like Python etc...

Offline

#4 2012-08-03 21:55:30

damaru
Member
From: canada
Registered: 2011-12-13
Posts: 47
Website

Re: pinning warldorf only to update Qt4 to Qt4.8y

Hum - so to update to testing - which I feel would be stable enough for my needs - would I just add the testing repo in my apt list ? Qt seems to be attach to many app and I feel I would just be messing up other apps...

Didnt really search before asking - following the guide :

http://crunchbanglinux.org/forums/topic … o-testing/

Last edited by damaru (2012-08-03 21:57:44)


ponnuki studio
ponnuki.net

Offline

#5 2012-08-03 21:59:13

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: pinning warldorf only to update Qt4 to Qt4.8y

Yes, changing to testing in sources and updating will do the trick.

Qt will only affect what it installs and runs, and should have no bearing on your current apps.

I run a couple of Qt apps and have no issues with it and other apps.


VSIDO | Words That Build Or Destroy

We do not run from challenges, they become new innovations within VSIDO!

Offline

#6 2012-08-03 21:59:16

pidsley
Window Mangler
Registered: 2012-05-23
Posts: 1,752

Re: pinning warldorf only to update Qt4 to Qt4.8y

I was just going to point you at that guide smile -- or you could just install Waldorf, which is on the Wheezy repo now (same as Testing for the moment). Then if you want to change the sources in Waldorf you can easily stay on Testing.

Offline

#7 2012-08-04 06:41:13

damaru
Member
From: canada
Registered: 2011-12-13
Posts: 47
Website

Re: pinning warldorf only to update Qt4 to Qt4.8y

ho my my - it happened...

can't connect to the network anymore, can't sudo, can't use login - the 'su' password is not recognized... ifconfig is empty and can't eth0 up get a permission denied. But hey ! the computer starts wink

Any quick idea what is going on ? If I could at least get the root account going, and set my user back in the sudoers it would make thing simpler... but surely won't waste too much time around - will re-install with waldorf later today...

Is Waldorf stable enough at this point ? starting to download it now...

Last edited by damaru (2012-08-04 06:42:43)


ponnuki studio
ponnuki.net

Offline

#8 2012-08-04 13:03:12

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,431

Re: pinning warldorf only to update Qt4 to Qt4.8y

damaru wrote:

Is Waldorf stable enough at this point ? starting to download it now...

More or less it is perfectly usable. Many of us already run it.

Offline

#9 2012-08-04 13:09:11

pidsley
Window Mangler
Registered: 2012-05-23
Posts: 1,752

Re: pinning warldorf only to update Qt4 to Qt4.8y

damaru wrote:

ho my my - it happened...

can't connect to the network anymore, can't sudo, can't use login - the 'su' password is not recognized... ifconfig is empty and can't eth0 up get a permission denied. But hey ! the computer starts wink

Any quick idea what is going on ? If I could at least get the root account going, and set my user back in the sudoers it would make thing simpler... but surely won't waste too much time around - will re-install with waldorf later today...

Is Waldorf stable enough at this point ? starting to download it now...

What did you do? Did you try to upgrade Statler to testing? Did you see any errors in the text as the system was booting?

If the computer starts, can you login at a console (alt+ctrl+F2) as root?

If you think it was the upgrade that broke it you might be able to chroot back in and undo the upgrade, but if you don't have too much invested in the install you could just run a live CD, mount the /home partition (or / if you don't have a separate /home) and copy any data off, then reinstall with Waldorf.


Asfor "how stable is Waldorf", as Ivan said, many of us are running it and it runs well. It's based on Debian Wheezy, which is the Testing branch right now, and many people here run Testing or Sid as our base systems. The term "unstable" is not really accurate when you're talking about Debian.

Last edited by pidsley (2012-08-04 13:15:56)

Offline

#10 2012-08-05 09:41:37

damaru
Member
From: canada
Registered: 2011-12-13
Posts: 47
Website

Re: pinning warldorf only to update Qt4 to Qt4.8y

Well it seemed that the root account was lost in the update ???

So I simply re-installed and MY!!!! It really really faster - Like really faster!!

I couldnt play HD in 720p on my netbook and now it flow like the niagara! Same with flash or my wireless driver - the battery state is the only thing not working.  And MIXXX ho my so much faster and smooth god this is great!


ponnuki studio
ponnuki.net

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