SEARCH

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

You are not logged in.

#1 2013-04-19 10:40:09

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Enable the experimental repo to cherry-pick packages

Here is how to enable the Debian experimental repo.

You need to edit /etc/apt/sources.list as root. Use your editor of choice.

Add these lines to the end of the file:

## DEBIAN experimental
deb http://http.debian.net/debian experimental main contrib non-free
deb-src http://http.debian.net/debian experimental main contrib non-free

Comment out the deb-src line if you don't need source packages.

Save the file.

Run

sudo apt-get update

That's it.

You can now install packages and dependencies from the experimental repo by using the --target argument for apt-get install.

e.g. To install the latest kernel from experimental:

1/ determine which kernel that is:

apt-cache policy 'linux-image-*'

Choose one for your architecture and with the features you want.

2/ install it - for example the standard amd64 kernel:

sudo apt-get install --target experimental linux-image-3.8-trunk-amd64

WARNING #1:
If more than a couple of your packages will be re-installed, then don't do it unless you have good reasons to and you can handle the mess it can create.

WARNING #2:
After installing the package(s) from experimental, disable the experimental repo again, so that you don't inadvertently install any other packages from that repo.

To do that, just comment out the lines for the experimental repo in your /etc/apt/sources.list file by prepending the '#' character, save the file and run the command

sudo apt-get update

Last edited by xaos52 (2013-04-20 09:17:56)

Offline

Be excellent to each other!

#2 2013-04-19 11:02:04

DebianJoe
#! Code Whisperer
From: The Bleeding Edge
Registered: 2013-03-13
Posts: 1,207
Website

Re: Enable the experimental repo to cherry-pick packages

^+1, but apply with great care.  Leaving the repo open (uncommented) is asking to learn a great deal about Debian in a very short period of time.

Offline

#3 2013-04-19 11:40:25

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Enable the experimental repo to cherry-pick packages

Agreed. I have added a warning.

Offline

#4 2013-04-19 12:44:12

anticapitalista
#! Member
Registered: 2010-08-03
Posts: 93

Re: Enable the experimental repo to cherry-pick packages

You only install from experimental when the -t is used. A simple apt-get upgrade (even with experimental enabled) will not upgrade to experimental. (At least that is what happens on my box)

Offline

#5 2013-04-19 13:09:07

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Enable the experimental repo to cherry-pick packages

And what does 'dist-upgrade' do?
I was not sure of that, so I thought 'better safe than sorry'.
Thanks.

Last edited by xaos52 (2013-04-19 13:10:20)

Offline

#6 2013-04-19 16:10:31

nadir
#! Member
Registered: 2010-10-20
Posts: 83

Re: Enable the experimental repo to cherry-pick packages

I am sure:

The default Pin-Priority value for experimental archive is always 1 (<<100) since it is NotAutomatic archive (see Section 2.5.3, “Archive level "Release" files”). There is no need to set Pin-Priority value explicitly in the "/etc/apt/preferences" file just to use experimental archive unless you wish to track particular packages in it automatically for next upgrading.

from here: http://www.debian.org/doc/manuals/debia … al_literal

In my opinion adding repos, installing from them and then commenting the repo is not a good solution (it's bad style. aka: a dirty workaround ).

and you can handle the mess it can create.

Yup.

This directory contains packages and tools which are still being developed, and are still in the alpha testing stage. Users shouldn't be using packages from here, because they can be dangerous and harmful even for the most experienced people."

from here: https://wiki.debian.org/DebianExperimental
(that sounds very intimidating, but one really should take care and realize that it ~could lead to trouble, and serious one. The obvious candidates for installing from experimental  are iceweasel and the kernel. I just installed xfce from experimental, and that worked fine too, but i didn't do it on a working PC, but on a test-PC).

Offline

#7 2013-04-19 16:28:13

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Enable the experimental repo to cherry-pick packages

Agree with all you said.

I wrote the post in a hurry for someone having a wireless problem with the current  wheezy kernel.

Chances are that the problem is solved in the experimental kernel - or not.
If not, reverting to the old kernel is easy.

Last edited by xaos52 (2013-04-19 16:28:51)

Offline

#8 2013-04-19 16:37:55

nadir
#! Member
Registered: 2010-10-20
Posts: 83

Re: Enable the experimental repo to cherry-pick packages

yeah, it's a nice quick-how-to-do it. I only made a few side-notes. I failed to express that above.

Offline

#9 2013-04-19 18:50:16

anticapitalista
#! Member
Registered: 2010-08-03
Posts: 93

Re: Enable the experimental repo to cherry-pick packages

xaos52 wrote:

And what does 'dist-upgrade' do?
I was not sure of that, so I thought 'better safe than sorry'.
Thanks.

apt-get dist-upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 apt-get -t experimental dist-upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  abiword antix-cc-base-antix apt-file aspell aspell-en ceni console-setup console-setup-linux debconf-i18n dictionaries-common gfxboot-dev intltool irssi
  irssi-scripts keyboard-configuration libabiword-2.9 libapt-pkg-perl libcairo-perl libclass-accessor-perl libclone-perl libcurses-perl libcurses-ui-perl
  libemail-valid-perl libenchant1c2a libexpect-perl libglib-perl libgtk2-perl libgtkspell0 libhtml-parser-perl libhtml-tree-perl libhttp-cookies-perl
  libhttp-message-perl libhttp-negotiate-perl libio-pty-perl libio-socket-inet6-perl libio-socket-ssl-perl libipc-run-perl liblist-moreutils-perl
  liblocale-gettext-perl liblwp-protocol-https-perl libnet-dns-perl libnet-ssleay-perl libpango-perl libparse-debianchangelog-perl libperl5.14
  libsocket6-perl libsub-name-perl libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libwebkitgtk-1.0-0 libwww-perl
  libxml-parser-perl lintian lyx module-assistant myspell-en-gb myspell-en-us mythes-en-us poedit rxvt-unicode system-antix sysv-rc-conf vim-gtk xserver-xorg
  xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-video-fbdev xserver-xorg-video-nouveau xserver-xorg-video-vesa youtube-viewer-antix
The following NEW packages will be installed:
  cpp-4.8 fonts-dejavu fonts-dejavu-core fonts-dejavu-extra g++-4.8 gcc-4.8 gcc-4.8-base gcc-4.8-base:i386 gir1.2-gtk-2.0 junit4 libasan0 libasm3-java
  libatk-bridge2.0-0 libatomic1 libatspi2.0-0 libcglib-java libcloog-isl4 libcloog-ppl1 libdconf1 libdrm-dev libdrm-nouveau2 libee0 libegl1-mesa-dev
  libegl1-mesa-drivers libelfg0 libestr0 libfftw3-double3 libfftw3-single3 libfile-basedir-perl libgcc-4.7-dev libgcc-4.8-dev libgda-5.0-4 libgda-5.0-common
  libgl1-mesa-dev libgmlib1 libgmpxx4ldbl libgmtk1 libgmtk1-data libhamcrest-java libharfbuzz-dev libharfbuzz0 libisl10 libjs-jquery libjson-glib-1.0-0
  libkms1 liblognorm0 libmockito-java libmozjs185-1.0 libobjenesis-java libopenjpeg5 libopenvg1-mesa libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
  libpangox-1.0-0 libpangoxft-1.0-0 libperl4-corelibs-perl libpoppler28 libppl-c4 libppl12 libpython2.7-minimal libpython2.7-stdlib libpython3.3-minimal
  libpython3.3-stdlib libsecret-1-0 libsecret-common libstdc++-4.8-dev libtext-levenshtein-perl libtsan0 libusbmuxd2 libwebp4 libx11-xcb-dev libxcb-glx0-dev
  libxdo3 libxxf86vm-dev mesa-common-dev python-imaging-compat python3 python3-minimal python3.3 python3.3-minimal qtchooser t1utils tcl8.6 x11proto-dri2-dev
  x11proto-gl-dev x11proto-xf86vidmode-dev
The following packages have been kept back:
  libexttextcat-data libhsqldb-java
The following packages will be upgraded:
  apt apt-utils automake binutils cmake cmake-data cpp cpp-4.7 cpulimit dbus dbus-x11 dconf-gsettings-backend dconf-service devscripts diffstat dillo
  e2fslibs e2fsprogs extlinux file file-roller findutils fonts-droid fonts-opensymbol fop freeglut3 g++ g++-4.7 gcc gcc-4.7 gcc-4.7-base gcc-4.7-base:i386
  geany geany-common gecko-mediaplayer gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0 gir1.2-pango-1.0 git git-core git-man
  glib-networking glib-networking-common glib-networking-services gnome-icon-theme gnome-mplayer grub-common gsettings-desktop-schemas gtk2-engines-pixbuf
  htop ifupdown imagemagick imagemagick-common initramfs-tools initscripts install-info iproute java-common libapt-inst1.5 libapt-pkg4.12 libass4 libatk1.0-0
  libatk1.0-data libatk1.0-dev libattr1 libaudclient2 libaudiofile1 libbluray1 libc-bin libc-dev-bin libc6 libc6:i386 libc6-dev libcairo-gobject2
  libcairo-script-interpreter2 libcairo2 libcairo2-dev libcanberra-gtk0 libcanberra-gtk3-0 libcanberra0 libcolord1 libcomerr2 libcommons-io-java
  libcommons-logging-java libcroco3 libcups2 libdatrie1 libdbus-1-3 libdbus-1-dev libdiscid0 libdrm-intel1 libdrm-intel1:i386 libdrm-radeon1
  libdrm-radeon1:i386 libdrm2 libdrm2:i386 libdvdnav4 libdvdread4 libexpat1 libexpat1:i386 libexpat1-dev libfftw3-3 libfltk1.3 libfop-java libfribidi0
  libgail18 libgcc1 libgcc1:i386 libgcrypt11 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-dev libgeoclue0 libgfortran3 libgirepository-1.0-1
  libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libgmp10 libgnome-keyring-common libgnome-keyring0 libgnutls26 libgomp1 libgtk-3-0 libgtk-3-bin
  libgtk-3-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgtk2.0-dev libitm1 libjack-jackd2-0 libjavascriptcoregtk-1.0-0 libkeybinder0 libksba8
  liblapack3 liblapack3gf libmagic1 libmagickcore5 libmagickwand5 libmtdev1 libmtp-common libmtp-runtime libmtp9 libnautilus-extension1a libncurses5
  libncursesw5 libnettle4 libnfnetlink0 libopenjpeg-dev libopus0 liborc-0.4-0 libp11-kit0 libpango1.0-0 libpango1.0-dev libplist1 libpolkit-agent-1-0
  libpolkit-gobject-1-0 libpoppler-glib8 libpulse-mainloop-glib0 libpulse0 libpython2.7 libqt4-core libqt4-dbus libqt4-declarative libqt4-designer libqt4-dev
  libqt4-dev-bin libqt4-gui libqt4-help libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-sqlite
  libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 libquadmath0 librsvg2-2 librsvg2-common libselinux1 libsemanage-common
  libsemanage1 libsepol1 libshout3 libsigsegv2 libsmbclient libsoundtouch0 libsoup-gnome2.4-1 libsoup2.4-1 libss2 libstartup-notification0 libstdc++6
  libstdc++6:i386 libstdc++6-4.7-dev libsvga1 libtasn1-3 libtdb1 libtelepathy-glib0 libthai-data libthai0 libtinfo-dev libtinfo5 libv4l-0 libv4lconvert0
  libva1 libvdpau1 libvisio-0.0-0 libvte-2.90-9 libvte-2.90-common libwbclient0 libwebkitgtk-1.0-common libwpd-0.9-9 libxerces2-java libxml2 libxml2-utils
  libxmlgraphics-commons-java libxrandr-dev libxrandr2 libxslt1.1 locales lyx-common make mime-support multiarch-support nautilus-data ncurses-base
  ncurses-bin ncurses-term openssh-client patch perl perl-base perl-modules pmount policykit-1 python python-apt python-apt-common python-gi python-gobject
  python-imaging python-keybinder python-lxml python-minimal python-numpy python-webob python-xdg python2.7 python2.7-minimal qdbus qt4-dev-tools
  qt4-linguist-tools qt4-qmake rsyslog squashfs-tools strace svgalib-bin synaptic syslinux syslinux-common sysv-rc sysvinit sysvinit-utils tcl tcl8.5
  tex-common ttf-dejavu ttf-dejavu-core ttf-dejavu-extra uno-libs3 ure usbmuxd x11proto-randr-dev xdotool xsltproc xterm
287 upgraded, 87 newly installed, 72 to remove and 2 not upgraded.
Need to get 293 MB of archives.
After this operation, 59.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

Offline

#10 2013-04-19 21:11:51

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: Enable the experimental repo to cherry-pick packages

^ ...and what about just `apt-get dist-upgrade`?  If I'm not mistaken, unless you have experimental pinned high, it should be ignored unless you specifically invoke it.

Offline

#11 2013-04-19 21:21:41

wuxmedia
wookiee madclaw
From: Back in Blighty
Registered: 2012-03-09
Posts: 1,478
Website

Re: Enable the experimental repo to cherry-pick packages

I think that is what anti cap was trying to point out.
I'm no expert but it seems the -t is important. I've noticed that on BBQ releases apt/sources-list

Offline

#12 2013-04-19 21:47:00

rkwurth
#! Junkie
Registered: 2012-09-04
Posts: 365

Re: Enable the experimental repo to cherry-pick packages

I tried this guide and it doesn't work!

rkw@trixie:~$ apt-get -t experimental dist-upgrade
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Lol just kidding.
Yah I use experimental to get the latest hplip for my printer. Good guide. Only difference on my system is I leave the other repos uncommented and set up an /etc/apt/preferences.

Offline

#13 2013-04-27 12:02:53

babouk
#! CrunchBanger
From: #!_de
Registered: 2009-08-10
Posts: 110
Website

Re: Enable the experimental repo to cherry-pick packages

Did anybody install the geary Email-client from experimental ?

http://redmine.yorba.org/projects/geary/wiki

http://packages.debian.org/experimental/geary


waldorf | openbox
pekwm

Offline

#14 2013-05-11 18:55:24

opensas
New Member
Registered: 2013-05-11
Posts: 7

Re: Enable the experimental repo to cherry-pick packages

I think this post would be an excellent candidate for a community wiki (BTW, is there an official crunchbang wiki?)

I'd like to know what would be the correct way to just install one application from sid repo (I mean something fairly stable and not so cutting edge). I guess the most common example would be the kernel, and then how to get back to eventually the stable version.

Offline

#15 2013-05-11 23:04:08

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Enable the experimental repo to cherry-pick packages

@opensas, it's highly recommended to NOT mix stable with unstable, testing or experimental as dependencies are going to be installed and existing apps will be upgraded to satisfy the unstable package's requirements. Then, switching back to stable, your bound to find yourself in dependency hell down the road. The recommendation is to wait till the package hits backports. Note that Dr. Xaos originally recommended this to fix a wifi issue, I believe as a last resort. That said, I've done a crap-ton of mixing sources... the quick and dirty way is to switch your source (/etc/apt/sources.list) from stable or wheezy to unstable, run sudo apt-get update, install the package(s), switch your source back to stable and run apt-get update again.

Note: This is coming from a man who's recently installed squeeze (old stable) and plans on running it till security updates stop coming. (GTK3 theming sux!) 8o

Last edited by hhh (2013-05-11 23:06:29)


bunsenlabs     8)     forum mod squad

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.
Server: acrobat

Debian Logo