LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Couple Slack 13 questions.... (https://www.linuxquestions.org/questions/slackware-14/couple-slack-13-questions-794510/)

linus72 03-10-2010 03:16 PM

Couple Slack 13 questions....
 
OK

Need to know these things please...

1) How to output list of all installed pkg's(incl sbopkg's,etc)
in text form?
With Debian it's

Code:

dpkg --get-selections > packages.txt
or

Code:

dpkg-query -W --showformat='${Package} ${Version}\n' > packages.txt
are there similar commands for slack?

2) Can I upgrade everything to current except kernel/modules/firmware/headers?

thanks

GrapefruiTgirl 03-10-2010 03:22 PM

1) ls /var/log/packages >> some-file

2) basically yes (this is what I do, to save my custom kernel), although I do tend to upgrade the headers because AFAIK the headers are technically *supposed* to match those that your GCC or GLIBC were compiled with (or something like this). You can keep your custom kernel, provided you "install" it, and its modules, and run LILO (or GRUB or whatever you use) before expecting to boot your upgraded system.

I'm not really sure about the firmware -- probably a good idea to upgrade that, if you actually *use* any of it..

GrapefruiTgirl 03-10-2010 03:25 PM

P.S. -- unless you rebuild your custom kernel using the upgraded GCC and whatnot, you will eventually run into problems trying to build kernel drivers (like the nvidia driver for e.g.) because it will complain that the GCC which compiled the kernel does not match the GCC currently installed. So, while you don't absolutely NEED to use the slackware kernel, you SHOULD rebuild your own kernel after getting the upgrade completed.

Be forewarned :)

Sasha

Ivshti 03-10-2010 04:34 PM

13.0 works ok with older kernels, but slackware-current won't work because of udev.

BTW I'm building HAL-independent GNOME, NetworkManager, PulseAudio, and X.org for my own distribution. Guess somebody will be interested in the HAL-less X.org build? It uses udev, so it doesn't need the typical xorg.conf, either.

Didier Spaier 03-10-2010 05:05 PM

Quote:

Originally Posted by Ivshti (Post 3893440)
Guess somebody will be interested in the HAL-less X.org build? It uses udev, so it doesn't need the typical xorg.conf, either.

I do have a HAL-less X.org build. I configure xorg-server with the --disable-config-hal option, et voilą.

I prefer to keep a xorg.conf file though.

Ivshti 03-11-2010 05:50 AM

I meant without xorg.conf. It uses udev instead of hal for automatic configuration. Works only for current, thought. That's because it needs a newer udev.


All times are GMT -5. The time now is 11:07 AM.