Slackware :: Delete All .orig Config Files After Slackpkg Update Process?
Dec 8, 2010How do I delete all the .orig config files after I go throught the following process?
slackpkg update
slackpkg install-new
slackpkg upgrade-all
How do I delete all the .orig config files after I go throught the following process?
slackpkg update
slackpkg install-new
slackpkg upgrade-all
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.
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:
seamonkey-2.0.7-i486-1_slack12.2.tgz
seamonkey-solibs-2.0.7-i486-1_slack12.2.tgz
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 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 just installed Ubuntu on a partition install. It is dual-booted with my Windows 7. Anyways, everything worked fine for a while, until I pressed ctrl+alt+F2. Then it went to this weird full-screen-mode command line thing. It asked for my login so i did, and then it asked for my password, which I then entered. And then I really don't know what I did, but at the end I pressed ctrl+alt+delete, which instead of going to like a task manager, it restarted my computer.
I then booted into Ubuntu again, and it started giving me errors about how it won't update some config files, and then it won't load up like the desktop and the panels. All I see about booting is the default Ubuntu background when you login and nothing else. No panels, no icons, nothing, just the background.
During upgrade the system ask me what to do about config files. K to keep old ones then other options to change config files to the new system and backup old one with *.old extension and 2 other options I don't remember. What do you think is the best choice if I have changed my xorg.conf, my layout and my fonts.
View 2 Replies View RelatedMy brother is thinking of installing Slackware64 13.1 on his laptop. He was wondering though how to configure his wireless card. How would he do this? He is using an Intel wireless card, but I am unsure of the exact model. Another question is would Wicd do this automatically or do you still have to use either iwconfig or wpa_supplicant and edit the corresponding config files?
View 4 Replies View RelatedI know I MUST no delete anything from /var/log/packages, but what about that path?
View 9 Replies View RelatedAll rc.inet1 an rc.wireless scripts work well if a wireless extension is on wlan(x). My notebook has Intel Pro 2100 wireless adapter (the ipw2100 module). By the system the card is marked as eth1. If you have a look at rc.inet1(.conf) you see that by default an eth1 has no wireless extensions. how to set up my network.
View 2 Replies View Relatedis there a way to upgrade from 13.0 using slackpkg or something more simpler?
View 14 Replies View RelatedI 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 ?
View 1 Replies View RelatedThe new 2.6.35.7 kernel fails to boot on my Lenovo laptop. I had previously compiled a 2.6.35 kernel with a couple of different .config files and never had it boot properly. The failure occurs very quickly and I am including the final screenshot in case that helps.
View 7 Replies View RelatedI want to upgrade to 10.04 and I'm using Update Manager by clicking the Upgrade button at the top.
Will this delete programs (from the software centre) and files (from the my documents anf my pictures folders)?
A few days ago I test the Enlightenment WM. So, I was thinking there the Black/Open box , WindowMaker and others WM was on the repositories.
View 6 Replies View RelatedToday 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
Code:
...
# The gcc compiler suite:
gcc
gcc-g++
gcc-gfortran
gcc-gnat
gcc-java
gcc-objc
# The GNU libc libraries:
glibc
glibc-i18n
glibc-profile
glibc-solibs
glibc-zoneinfo
glibc-debug
...
How I can use the mentioned regular expressions in order to make blacklisting more efficient?
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?
View 13 Replies View Relatedif 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:
Quote:
*OLDFOGIE*
be put into slackpkg blacklist file?
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 tried to get libgio with slackpkg but i cannot find it. firefox needs it.
View 2 Replies View RelatedLike 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.
View 11 Replies View RelatedI 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?
View 4 Replies View RelatedHow does one install packages from testing using slackpkg or is that possible?
View 4 Replies View Relatedi 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?
View 3 Replies View RelatedHave 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
[code]...
I edited my "sudoers" file with "visudo". Added the line, after the root privileges definition.
Code:
root ALL=(ALL) ALL
myuser ALL=(ALL) ALL
I try to:
Code:
$ sudo ls /root
[Code]....
With recent changes to Slackware I would like to suggest that /etc/slackpkg/blacklist is modified as follows:
Quote:
# kernel-ide
kernel-modules
kernel-source
kernel-headers
kernel-firmware
kernel-generic
kernel-huge
This works better than the current entry.
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?
View 9 Replies View Relatedslackpkg 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.
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
Code:
checkblacklist
to
[code]....
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?
View 11 Replies View Related