Re: apt 0.5.4: preferences file
Jens, Thanks for the ideas. In fact, today, I did a Google search on ``/etc/apt/preferences" and got many of the same results. My German is not as good as my Scandinavian languages (I did post- graduate study in Sweden and later married a Norwegian-American whom I met while she was majoring in Scandinavian studies) so I read the articles in English, French and Danish before venturing into the German. The other problem was that the Google results suggested that the apt_preferences system appears to have taken the developers some time to debug. There were a lot of ``unintended consequences" during the process. More recently, a number of user messages picked up by the Google search seem to have had trouble understanding the process. I am not surprised. I did too. The following appears to accomplish exactly what I am looking for -- namely to update packages downloaded from testing with testing updates and to update packages downloaded from unstable with unstable updates but not to transfer anything from testing to unstable without explicit user intervention. Package: * Pin: release a=testing Pin-Priority: 777 Package: * Pin: release a=unstable Pin-Priority: 333 Thanks again for the help. On 13 Oct 2001, at 21:34, Jens Benecke wrote: > > http://www.google.com/search?q=apt%20preferences%20testing%20unstable > > > Well, save yourself and ask Google. First hit. > Number four (Linux User FAQ) is actually from one of my web sites. ;)
Re: kscd & cddb
On October 13, 2001 03:50, Hendrik Sattler wrote: > Am Samstag, 13. Oktober 2001 03:40 schrieb Kamil Kisiel: > > I am having a problem writing to my local cddb database from kscd 1.3.2., > > using the latest packages from unstable. Every time I access the cddb > > database, I get an error message saying that kscd was unable to write to > > /var/lib/cddb// .. > > > > Ther permissions to /var/lib/cddb/ are currently set to: > > drwxrwsr-t2 root audio > > > > My user is a member of the audio group, so I should be able to write to > > this directory.. > > > > Any help with this problem would be greatly appreciated, thanks. > > I had the same problem. Solution: create the genre dir by hand and it > should work. > > HS Thanks, making the directory with the same permissions as /var/lib/cddb/ got this working, seems the problem is solved, except for the fact that I have make directories for every genre I ever use... *sigh*. Well, thanks anyway. KK
Re: Failed upgrade to KDE 2.2.1
> "Oliver" == Oliver Johns <[EMAIL PROTECTED]> writes: Oliver> Hope this is a clue, at least. Thanks a bunch for the answer, and I'll keep that message in the special place that I have for special, hold-your-mouth-in-just-the-right-way solutions to problems :) Like my other message said, it magically worked like the third time I tried it, but I'm certain your message will help other upgrade problems I'll have in the future. Thanks again for the answer, bab -- Brian Button[EMAIL PROTECTED] Senior Consultant Object Mentor, Inc St. Louis, MO http://www.objectmentor.com Extreme Programming in St. Louis - http://groups.yahoo.com/group/xpstl
Re: Failed upgrade to KDE 2.2.1
Dear Brian, I'm not sure about this, but I think that the problem is that some files have moved from one package to another one in the transition from 2.1.2 to 2.2.1. Thus, from your information below, it appears that /usr/lib/kde2/libkcm_screensaver.la is now in kdebase-libs whereas it used to be in kscreensaver. Since you still have the old kscreensaver installed when you try to install kdebase-libs, you get an overwrite conflict. The solution that worked for me is first to do apt-get -d -t unstable install kde which will just download everything for you. You probably have everything already, so this step may not be needed. Then, cd to /var/cache/apt/archives and do dpkg --force-overwrite --install kdebase-libs_4%3a2.2.1.0-1_i386.deb This will install kdebase-libs regardless of its overwriting a file from the old version of kscreensaver. You'll have to do that for several files, but you can pick them out of your apt-get response below. When the bad ones are resolved, then you can do apt-get -t unstable install kde again, and everything should go through correctly. Hope this is a clue, at least. O. Johns On Saturday 13 October 2001 14:36, Brian Button wrote: > Well, I had KDE 2.1.2 installed, and I couldn't leave well enough > alone :( I just had to get KDE 2.2.1, just for fun. I shoulda known > better :) > > I thought I read around this list, and a couple others who had > successfully done this, so it couldn't be that hard, right?? So > what happened? > > My /etc/apt/preferences files looks like: > > Package: * > Pin: release a=testing > Pin-Priority: 777 > > Package: * > Pin: release a=unstable > Pin-Priority: 333 > > I've already updated everything to what just showed up in testing > with apt-get update. Now, with the new apt-get, I do > > apt-get -t unstable install kde > > and I get an error installing stuff. Here is the output of the > above command: > > Script started on Sat Oct 13 16:08:18 2001 > brian:~# apt-get -t unstable install kde > Reading Package Lists... 0% > Reading Package Lists... 100% > Reading Package Lists... Done > Building Dependency Tree... 0% > Building Dependency Tree... 0% > Building Dependency Tree... 50% > Building Dependency Tree... 50% > Building Dependency Tree... 85% > Building Dependency Tree... Done > The following extra packages will be installed: > ark artsbuilder kab karm kate kcalc kcharselect kchart kcoloredit > kcron kdebase kdebase-audiolibs kdebase-libs kdelibs3 kdepasswd > kdepim-libs kdf kdict kedit kfind kformula kfract kghostview > khexedit kiconedit kit kivio kjots kmail kmix knewsticker knode > knotes koffice koffice-libs konqueror konsole kontour korganizer > korn koshell kpackage kpaint kpm kpresenter kruler kscd > kscreensaver ksirc ksnapshot kspread ksysv ktimer kugar kuser kword > libarts-mpeglib libasound1 libkdenetwork1 libkmid libkonq3 > libpisock4 noatun secpolicy > The following NEW packages will be installed: > ark artsbuilder kab karm kate kcalc kcharselect kchart kcoloredit > kcron kde kdebase kdebase-audiolibs kdepasswd kdepim-libs kdf kdict > kedit kfind kformula kfract kghostview khexedit kiconedit kit kivio > kjots kmail kmix knewsticker knode knotes koffice koffice-libs > konqueror kontour korganizer korn koshell kpackage kpaint kpm > kpresenter kruler kscd ksirc ksnapshot kspread ksysv ktimer kugar > kuser kword libarts-mpeglib libasound1 libkdenetwork1 libkmid > libkonq3 libpisock4 noatun secpolicy 4 packages upgraded, 61 newly > installed, 0 to remove and 186 not upgraded. Need to get 37.6MB of > archives. After unpacking 96.7MB will be used. Do you want to > continue? [Y/n] > > [package retrieval removed] > > Preconfiguring packages ... > (Reading database ... 70111 files and directories currently > installed.) Preparing to replace kdelibs3 4:2.1.2-3 (using > .../kdelibs3_4%3a2.2.1-9_i386.deb) ... Unpacking replacement > kdelibs3 ... > Replacing files in old package kdebase-libs ... > Selecting previously deselected package ark. > Unpacking ark (from .../ark_4%3a2.2.1-1.3_i386.deb) ... > Unpacking libkmid (from .../libkmid_4%3a2.2.1-9_i386.deb) ... > Selecting previously deselected package artsbuilder. > Unpacking artsbuilder (from .../artsbuilder_4%3a2.2.1-1.4_i386.deb) > ... Selecting previously deselected package kab. > Unpacking kab (from .../kab_4%3a2.2.1-1.3_i386.deb) ... > Selecting previously deselected package karm. > Unpacking karm (from .../karm_4%3a2.2.1-1.3_i386.deb) ... > Preparing to replace kdebase-libs 4:2.1.1.0-10 (using > .../kdebase-libs_4%3a2.2.1.0-1_i386.deb) ... Unpacking replacement > kdebase-libs ... > dpkg: error processing > /var/cache/apt/archives/kdebase-libs_4%3a2.2.1.0-1_i386.deb > (--unpack): trying to overwrite > `/usr/lib/kde2/libkcm_screensaver.la', which is also in package > kscreensaver dpkg-deb: subprocess paste killed by signal (Broken > pipe) > Unpacking kate (from .../kate_4%3a2.2.1.0-1_i386.deb) ... > dpkg: error processing > /var/cache/apt/archives/kate_4
Re: Failed upgrade to KDE 2.2.1
> "Brian" == Brian Button <[EMAIL PROTECTED]> writes: Brian> Well, I had KDE 2.1.2 installed, and I couldn't leave well Brian> enough alone :( I just had to get KDE 2.2.1, just for Brian> fun. I shoulda known better :) Brian> I thought I read around this list, and a couple others who Brian> had successfully done this, so it couldn't be that hard, Brian> right?? So what happened? Looks like Clark's Law strikes again. I have no idea what happened, but I did apt-get -f and apt-get -t unstable a few times, and it magically worked :) So, to sum it up, I don't know how or why it worked this time, as I didn't change anything, but I'm running 2.2.1 now. Sorry to have bothered you... bab -- Brian Button[EMAIL PROTECTED] Senior Consultant Object Mentor, Inc St. Louis, MO http://www.objectmentor.com Extreme Programming in St. Louis - http://groups.yahoo.com/group/xpstl
Failed upgrade to KDE 2.2.1
Well, I had KDE 2.1.2 installed, and I couldn't leave well enough alone :( I just had to get KDE 2.2.1, just for fun. I shoulda known better :) I thought I read around this list, and a couple others who had successfully done this, so it couldn't be that hard, right?? So what happened? My /etc/apt/preferences files looks like: Package: * Pin: release a=testing Pin-Priority: 777 Package: * Pin: release a=unstable Pin-Priority: 333 I've already updated everything to what just showed up in testing with apt-get update. Now, with the new apt-get, I do apt-get -t unstable install kde and I get an error installing stuff. Here is the output of the above command: Script started on Sat Oct 13 16:08:18 2001 brian:~# apt-get -t unstable install kde Reading Package Lists... 0% Reading Package Lists... 100% Reading Package Lists... Done Building Dependency Tree... 0% Building Dependency Tree... 0% Building Dependency Tree... 50% Building Dependency Tree... 50% Building Dependency Tree... 85% Building Dependency Tree... Done The following extra packages will be installed: ark artsbuilder kab karm kate kcalc kcharselect kchart kcoloredit kcron kdebase kdebase-audiolibs kdebase-libs kdelibs3 kdepasswd kdepim-libs kdf kdict kedit kfind kformula kfract kghostview khexedit kiconedit kit kivio kjots kmail kmix knewsticker knode knotes koffice koffice-libs konqueror konsole kontour korganizer korn koshell kpackage kpaint kpm kpresenter kruler kscd kscreensaver ksirc ksnapshot kspread ksysv ktimer kugar kuser kword libarts-mpeglib libasound1 libkdenetwork1 libkmid libkonq3 libpisock4 noatun secpolicy The following NEW packages will be installed: ark artsbuilder kab karm kate kcalc kcharselect kchart kcoloredit kcron kde kdebase kdebase-audiolibs kdepasswd kdepim-libs kdf kdict kedit kfind kformula kfract kghostview khexedit kiconedit kit kivio kjots kmail kmix knewsticker knode knotes koffice koffice-libs konqueror kontour korganizer korn koshell kpackage kpaint kpm kpresenter kruler kscd ksirc ksnapshot kspread ksysv ktimer kugar kuser kword libarts-mpeglib libasound1 libkdenetwork1 libkmid libkonq3 libpisock4 noatun secpolicy 4 packages upgraded, 61 newly installed, 0 to remove and 186 not upgraded. Need to get 37.6MB of archives. After unpacking 96.7MB will be used. Do you want to continue? [Y/n] [package retrieval removed] Preconfiguring packages ... (Reading database ... 70111 files and directories currently installed.) Preparing to replace kdelibs3 4:2.1.2-3 (using .../kdelibs3_4%3a2.2.1-9_i386.deb) ... Unpacking replacement kdelibs3 ... Replacing files in old package kdebase-libs ... Selecting previously deselected package ark. Unpacking ark (from .../ark_4%3a2.2.1-1.3_i386.deb) ... Unpacking libkmid (from .../libkmid_4%3a2.2.1-9_i386.deb) ... Selecting previously deselected package artsbuilder. Unpacking artsbuilder (from .../artsbuilder_4%3a2.2.1-1.4_i386.deb) ... Selecting previously deselected package kab. Unpacking kab (from .../kab_4%3a2.2.1-1.3_i386.deb) ... Selecting previously deselected package karm. Unpacking karm (from .../karm_4%3a2.2.1-1.3_i386.deb) ... Preparing to replace kdebase-libs 4:2.1.1.0-10 (using .../kdebase-libs_4%3a2.2.1.0-1_i386.deb) ... Unpacking replacement kdebase-libs ... dpkg: error processing /var/cache/apt/archives/kdebase-libs_4%3a2.2.1.0-1_i386.deb (--unpack): trying to overwrite `/usr/lib/kde2/libkcm_screensaver.la', which is also in package kscreensaver dpkg-deb: subprocess paste killed by signal (Broken pipe) Unpacking kate (from .../kate_4%3a2.2.1.0-1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/kate_4%3a2.2.1.0-1_i386.deb (--unpack): trying to overwrite `/usr/share/services/kwrite_component.desktop', which is also in package kdebase-libs dpkg-deb: subprocess paste killed by signal (Broken pipe) Selecting previously deselected package kcalc. Unpacking kcalc (from .../kcalc_4%3a2.2.1-1.3_i386.deb) ... Selecting previously deselected package kcharselect. Unpacking kcharselect (from .../kcharselect_4%3a2.2.1-1.3_i386.deb) ... Selecting previously deselected package koffice-libs. Unpacking koffice-libs (from .../koffice-libs_1%3a1.1.0-final-6_i386.deb) ... Selecting previously deselected package kchart. Unpacking kchart (from .../kchart_1%3a1.1.0-final-6_i386.deb) ... Selecting previously deselected package kcoloredit. Unpacking kcoloredit (from .../kcoloredit_4%3a2.2.1.0-2.1_i386.deb) ... Selecting previously deselected package kcron. Unpacking kcron (from .../kcron_4%3a2.2.1-1.3_i386.deb) ... Unpacking libkonq3 (from .../libkonq3_4%3a2.2.1.0-1_i386.deb) ... Selecting previously deselected package kdebase. Unpacking kdebase (from .../kdebase_4%3a2.2.1.0-1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/kdebase_4%3a2.2.1.0-1_i386.deb (--unpack): trying to overwrite `/usr/bin/kreadconfig', which is also in package kdebase-libs dpkg-deb: subprocess paste killed by signal (Broken pipe) Unpacking kde
apt 0.5.4: preferences file
I put in a lot of effort yesterday studying the man pages for apt and apt_preferences as well as the APT HOWTO which is buried deep in the Debian website. To no avail. apt turned up its nose at my feeble attempt to write a preferences file. I usually beat my head against the brick wall until I figure out obscure documentation but on this one, the patience isn't forthcoming. Rather than ask help, if someone has a smoothly functioning /etc/apt/preferences file which they would be willing to share, please e-mail it to me ([EMAIL PROTECTED]) and I will use it to figure out where I went wrong on the concepts.
Re: kscd & cddb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Samstag, 13. Oktober 2001 03:40 schrieb Kamil Kisiel: > I am having a problem writing to my local cddb database from kscd 1.3.2., > using the latest packages from unstable. Every time I access the cddb > database, I get an error message saying that kscd was unable to write to > /var/lib/cddb// .. > > Ther permissions to /var/lib/cddb/ are currently set to: > drwxrwsr-t2 root audio > > My user is a member of the audio group, so I should be able to write to > this directory.. > > Any help with this problem would be greatly appreciated, thanks. I had the same problem. Solution: create the genre dir by hand and it should work. HS - -- Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de oder über pgp.net PingoS - Linux-User helfen Schulen: http://www.pingos.schulnetz.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7yByMzvr6q9zCwcERAmknAKCLddA2BLe5sU7wnS2TDphBckUCFgCgq8B1 oo35G6lw9SM7hjhZwEp/WWk= =2WVA -END PGP SIGNATURE-