SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can someone tell me what line to put in the file
/etc/slackpkg/slackpkg.conf or maybe it should be
/etc/slackpkg/mirrors so that I can use slackpkg
to upgrade from my NFS share? I keep it up to date
via rsync daily.
On my LAN it is /server2/ftp/pub/Linux/Slackware/slackware64-current/
Can someone tell me what line to put in the file
/etc/slackpkg/slackpkg.conf or maybe it should be
/etc/slackpkg/mirrors so that I can use slackpkg
to upgrade from my NFS share? I keep it up to date
via rsync daily.
On my LAN it is /server2/ftp/pub/Linux/Slackware/slackware64-current/
Bruce,
Try 'cdrom://server2/ftp/pub/Linux/Slackware/slackware64-current/' in /etc/slackpkg/mirrors.
This has worked for me from Samba shares.
root@jeremiah:~# slackpkg update
Updating the package lists...
Downloading...
Copying ChangeLog.txt...
Files /var/lib/slackpkg/ChangeLog.txt and /tmp/slackpkg.5OC2P7/ChangeLog.txt differ
List of all files
Copying patches/MANIFEST.bz2...
Copying slackware/MANIFEST.bz2...
Copying extra/MANIFEST.bz2...
Copying pasture/MANIFEST.bz2...
Copying testing/MANIFEST.bz2...
Checksums
Copying CHECKSUMS.md5...
Copying CHECKSUMS.md5.asc...
Package List
Copying FILELIST.TXT...
Package descriptions
Copying extra/PACKAGES.TXT...
Formatting lists to slackpkg style...
Package List: using CHECKSUMS.md5 as source
Package descriptions
It seems to have done something, though it can't possibly transfer
files even within one directory in the time it wrote to stdout,
much less over the LAN. And I can not find /tmp/slackpkg.5OC2P7/ChangeLog.txt
anywhere in this system.
That is not the directory of the ChangeLog.txt I can't find.
Code:
Files /var/lib/slackpkg/ChangeLog.txt and /tmp/slackpkg.5OC2P7/ChangeLog.txt differ
Quote:
Originally Posted by allend
And what is the output from 'slackpkg install-new' and 'slackpkg upgrade-all'?
Code:
root@jeremiah:~# slackpkg upgrade-all
Looking for packages to upgrade. Please wait... DONE
No packages match the pattern for upgrade. Try:
/usr/sbin/slackpkg install|reinstall
root@jeremiah:~# slackpkg install-new
Looking for NEW packages to install. Please wait... DONE
No packages match the pattern for install. Try:
/usr/sbin/slackpkg upgrade|reinstall
Eric, I yield to your greater bash skills, but one slash or two,
it performs the same here, and makes no difference.
However, it seems as if my RTFM skills are sorely lacking:
Code:
root@jeremiah:~# man slackpkg
update
update will download the latest package lists from a Slackware mirror (or your CD). It's a good idea to run
# slackpkg update
before attempting to upgrade, install, or search for packages.
If you need to update Slackware's GPG key, run
# slackpkg update gpg
The GPG key doesn't change. This should be a "one time" command - run it once and forget it...
When I read the man page, it did not clearly explain to my
little brain that it was only downloading lists of packages
and not the packages themselves. However, they provide a link
to the slackpkg website, where it's worded much more clearly:
Quote:
Installation
First, you need to download the "slackpkg" package. After that, install slackpkg using the installpkg command.
After install, you need to select ONE (and ONLY one) mirror to download packages from. Edit your /etc/slackpkg/mirrors and uncomment one of those lines or include your own mirror. Only FTP and HTTP mirrors are supported at the moment.
Once you have selected a mirror, type:
* # slackpkg update
Slackpkg will download some important files and update all package *lists* (no actual packages will be updated during this part). You are now ready to use slackpkg ;-)
So first I experimented with a package that my system does not
have. The first one I saw in the ChangeLog.txt was emacs. I'm
a vim enthusiast, and deselect the E series of packages every
time I do a Slackware installation. Therefore, I issued this:
Which gave me the slackpkg ncurses download box, with the
emacs-22.3-x86_64-3.txz package showing and selected with a *,
and when I choose OK it downloaded that package only:
But how does slackpkg upgrade the whole system? Or even
one package, for that matter? I'm at a loss as to what I
am doing wrong here...
Code:
root@jeremiah:~# slackpkg install-new
Looking for NEW packages to install. Please wait... DONE
No packages match the pattern for install. Try:
/usr/sbin/slackpkg upgrade|reinstall
root@jeremiah:~# slackpkg upgrade-all
Looking for packages to upgrade. Please wait... DONE
No packages match the pattern for upgrade. Try:
/usr/sbin/slackpkg install|reinstall
root@jeremiah:~# slackpkg install e/emacs
Looking for e/emacs in package list. Please wait... DONE
No packages match the pattern for install. Try:
/usr/sbin/slackpkg reinstall|upgrade
root@jeremiah:~# slackpkg install emacs-22.3-x86_64-3
Looking for emacs-22.3-x86_64-3 in package list. Please wait... DONE
No packages match the pattern for install. Try:
/usr/sbin/slackpkg reinstall|upgrade
root@jeremiah:~# slackpkg install emacs
Looking for emacs in package list. Please wait... DONE
No packages match the pattern for install. Try:
/usr/sbin/slackpkg reinstall|upgrade
I know there are other packages, and not just emacs, that
are in the latest Slackware64 ChangeLog.txt which are not
installed on my system.
Last edited by Bruce Hill; 05-24-2009 at 07:25 PM.
The only difference that I can see between what I am doing and what you are attempting is that I have already mounted the remote share on a local directory. Perhaps you should try mounting the share locally, and then use:
'cdrom://local_dir/path/to files' in mirrors
mingdao@jeremiah:~$ mount
<snip>
192.168.1.11:/home on /serverhome type nfs (rw,rsize=8192,wsize=8192,hard,intr,addr=192.168.1.11,nfsvers=3,proto=udp,mountproto=udp,mountport=766)
192.168.1.11:/backup on /server1 type nfs (rw,rsize=8192,wsize=8192,hard,intr,addr=192.168.1.11,nfsvers=3,proto=udp,mountproto=udp,mountport=766)
192.168.1.11:/backup2 on /server2 type nfs (rw,rsize=8192,wsize=8192,hard,intr,addr=192.168.1.11,nfsvers=3,proto=udp,mountproto=udp,mountport=766)
mingdao@jeremiah:~$ ls -l /server2/ftp/pub/Linux/Slackware/slackware64-current
slackware64-current/ slackware64-current-iso/
There is a bug in the Kernel 2.6.29.4 in the uvcvideo.h in /linux/drivers/media etc.
this is causing udev not to make /dev/video0 if any one else hase this problem let Pat know. amd dual 3800 64 bit processor.
this is a known problem sence 2.6.29.3 kernel.
I'm having a blast with it!
I've been trying to do guncash & deps since last night but the SlackBuilds for libofx & gtkhtml are taking me to task.
David's pushing a batch of changes out now, and as soon as he finished, you'll have working versions of the entire gnucash tree; both of us built all of them on both 12.2 and -64current.
There is a bug in the Kernel 2.6.29.4 in the uvcvideo.h in /linux/drivers/media etc.
this is causing udev not to make /dev/video0 if any one else hase this problem let Pat know. amd dual 3800 64 bit processor.
this is a known problem sence 2.6.29.3 kernel.
Presumably there's a fix queued for -stable 2.6.29.x series?
David's pushing a batch of changes out now, and as soon as he finished, you'll have working versions of the entire gnucash tree; both of us built all of them on both 12.2 and -64current.
Great!!
I've been banging on my yellow button for several days trying to do gnucash.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.