Slackware :: Regex In Blacklist For Slackpkg - How To Use
Mar 30, 2011
Today I moved my Slackware64-current installations to multilib. I blacklisted the gcc and glib packages in the blacklist-file for slackpkg. In the blacklistfile they say:
Code:
# Now we can blacklist using regular expressions.
# This one will blacklist all SBo packages:
#[0-9]+_SBo
I have blacklisted
As per the subject line, the latest slackpkg doesn't honor the blacklist when using the clean-system option. It tries to make my multilib system unhappy.I fixed this by changing line 656 in /usr/libexec/slackpkg/core-functions.sh
I decided to upgrade from Slackware64 13.0 to 13.1 using slackpkg. I did a slackpkg install-new and afterwards, upgrade-all. My first problem was solved regarding libblkid. The second one, with DIALUPS_CHECK_ENB and NOLOGIN_STR was solved too. Now, when booting, the system says it can't find /sbin/mount, swapon, hwlock and fsck, and also /proc/filesystems and /proc/ioports. It asks for the root password for maintenance and boots again afterwards. Do you have any idea what should I look for, because the mentioned /sbin/_files _ are at /sbin ?
I'm going to rebuild a computer for a friend of mine. I'm going to install 12.2 in it and wanted to see if there was a way to install patches automatically from a cron. I don't think slackpkg can do such thing as a cron, correct? For anyone that set up a Slackware box for someone with little Linux knowledge, how did you handle the ability for the person to update the box?
if I've missed this in the doc's, but I don't see the ability to "wildcard" blacklist for packages to _not_ be changed out via the slackpkg program.More specifically, I tagged all my packages like this:
mozilla-firefox-3.6b4-i486-1_OLDFOGIE.tgz
note the "OLDFOGIE" in my package name? So can something such as:
I'm running Slackware current, and just did a slackpkg upgrade. I can't startx. I get the following: FATAL: Error inserting i915 (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/i915/i915.ko): Invalid module format (EE) intel(0): No kernel mode setting driver detected. (EE) Screen(s) found, but none have a usable configuration
I did a multilib64 install but I am new. I use slackpkg for updates and its recommended to blacklist all kernel ,glibc and gcc updates. In the past with slackware32 I edited /etc/slackpkg/blacklist to uncomment the kernel but it still updated the kernel. This time I used the command line 'slackpkg blacklist kernel', and the same for glibc and gcc. It brings up all packages in the window and askes what to blacklist. Is this all I need to blacklist? I thought there would be to many libs to list or are they lumped in the 4 or 5 listed.
After upgrading to Slackware64 13.1 BETA1 my USB printer stopped working. Blacklisting usblp fixed it. See this thread regarding problems with CUPS 1.4.x. It might be a good idea to blacklist it by default in 13.1, just like Nouveau, as this appears to be a problem that has come to stay...
I want my system to email me when there is an update available via slackpkg. I decided to try a bash script to do the notification. So I started down this route:
VAR = $(slackpkg check-updates) VAR1 = "No news is good news " if [ "$VAR" = "$VAR1" ] then; . . .
I keep getting an error on the string comparison. I am guessing the variable types are different but I can't figure out how to fix it. Does anyone know how I can fix this script or accomplish the task at hand.
Like others here it seems I had problems with the latest -current. I can't startx, no sound, etc. I put back the video drivers and such from the 13 CD but now have a bunch of other issues, video will flash every now and then and sometimes go blank so I can only reboot as exiting xwindows and going back in its still blank. I tried booting from the 13 cd and reinstalling without formatting my root partition but that dies in the kde games for some reason and setup won't start again. I was trying to not format and loose all the updates just put back 13 but that doesn't seem to be working.
I want to upgrade Firefox to 3.6.3 The latest version should be 3.6.3 instead of 3.6.2. But even so, the 3.6.2 version is not there. Should I keep looking for other mirror that has the available software or do I miss anything?
I am running Slackware-12.2 and try to keep my box up to date with slackpkg. The last few security update from seamonkey shows two files that need to be updated:
If I look what is installed, only one package: # ls -la /var/log/packages/seamonkey* -rw-r--r-- 1 root root 68356 2010-09-28 22:33 /var/log/packages/seamonkey-2.0.8-i486-1_slack12.2
I looked back in all the slackware-security mails I have received and seamonkey-solibs seems to be added with seamonkey-2.0.4, for which the security mail was send on April-5. I don't see a recommendation to install seamonkey-solibs, and slackpkg will not update this packed, because it is not installed. I also had a look at the following page to find some clues: [URL]
i removed slackpkg.conf.new by accident slackpkg version now i always get this message no matter if i remove package and install it again Your slackpkg.conf is outdated. Please, edit it using slackpkg.conf.new as example or overwrite it with slackpkg.conf.new. You can use 'slackpkg new-config' to do that. what i have to do to eliminate it and make slackpkg working again?
Have been having trouble of late getting upgrades when using slackpkg, and example of the problem is here when trying to upgrade to the latest cups package, although the problem is not limited to this alone.
Code: root@captainpugwash:/etc/slackpkg# slackpkg search cups Looking for cups in package list. Please wait... DONE
I tried "slackpkg update", and it came back with Code: ERROR: Verification of the gpg signature on CHECKSUMS.md5 failed! This could mean that the file is out of date or has been tampered with. I googled this message and it pointed me to this thread: [URL]
However, when I type date I get this: Code: bash-3.1$ date Mon Sep 13 19:55:31 BST 2010 Which is correct for me. Not sure what to do now.
I recently upgraded my system from 13.0 to -current using slackpkg. However, I did not go through warnings on the web regarding the exact procedure to be followed (first running install-new and then upgrade-all). I just did a upgrade-all and then rebooted the system. And then the system would not boot and gives a libblkid.so.1 related error. Upon googling, I found suggestions as to booting from the install dvd 13.0, installing the old version of e2fsprogs and then reboot and doing the neccessary changes [URL]... Me being a linux newbie, don't know how exactly to do these things. Can anybody direct me with the list of commands/things to be done to solve this issue?
I just thought I would post this file since I was doing it for myself. This is the stock /etc/slackpkg/blacklist file with AlienBOB's multilib and kde 4.4.2 packages added. If I screwed something up please let me know!
Code: # This is a blacklist file. Any packages listed here won't be # upgraded, removed, or installed by slackpkg. # # The correct syntax is:
slackpkg upgrade-all I chose to use all old configuration files and keep the new ones. But after reboot, I got bunch of hardware configuration error and I cannot even login saying:
Code: INIT: cannot execute "/etc/rc.d/rc.4" Welcome to Linux 2.6.29.6 (tty1) (none) login: root Unable to determine your tty name I remember that I made runlevel 4 the default in /etc/inittab so that it can bring up login manager directly after reboot but the upgrade doesn't recognized the configuration file correctly hence the tty problem.
I need to know if there is a way to command slackpkg to reinstall all installed packages...?I dont think there is but also wanted to know if I could somehow edit scripts, etc to enable this.I need this because as many know here I make variations of livecd's and I have injured one of my installs when I ran a script that I shouldn't have and it deleted several directories under /etc usr/lib and /usr/bin.I have no idea exactly what was deleted and thus I wish to reinstall all installed packages.There must be a way to do this without the borish method of manually reinstalling hundreds of pkgs.Is there a way to grep/ var /log/packages and say reinstall all?
A big catastroph in my computer,I'm running slackware current Yesterday after finding a security update for thunderbird 3.1.4 in my mail, as I've suscribed to receive newsletter.So I run the slackpkg update and then a slackpkg upgrade-all. During this process I had a message asking me what to do with duplicated libraries of old versions for :
firefox thunderbird seamonkey R Remove S Skip B Blacklist
So I decided to remove old versions. Since that all shortcuts for these applications have disapeared from my desktop. the commands for these programms don't work. And the menus have gone from the kickoff application launcher.
I ran slackpkg update, then slackpkg install-new, then slackpkg upgrade-all. The menu shows pretty much every package that comes stock in slackware, and the ones that I looked at are all older versions than what I have installed. Is this how its supposed to be? or is my slackpkg bugging out?
I have installed Slackware 13.1 without a problem and have a working wired ethernet connection. However I need to set up wireless but each time I try to do this using wicd I have a total system crash during the start up screens at the very last line before the welcome line appears.
Nothing works to resolve it, and I need to press and hold the start button and restart. I have checked the md5sum, installed the software again several times but the same happens each time which results in me having to reinstall.
I have installed wicd using slackpkg update, then slackpkg install wicd.
I have also tried downloading wicd from the slackware /extras folder and installing it on its own. Either way the same happens.
I have tried various manual approaches to setting up wireless following various links but again without success.
I now have a clean install again but am not wanting the same to happen.
Can anyone suggest what I might need to do?
I am using an intel Pentium 4, 2.53 ghz, 512Mb ram, GeForce4 MX 440.
I have an install of slack64 13.37. I am unable to find grub in the repo via slackpkg search grub. It doesn't seem to be in the release package list either. Ditto the extra and testing repo. Has it been removed?