Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-09-2012, 02:55 AM
|
#1
|
|
Member
Registered: Nov 2006
Distribution: Slackware
Posts: 279
Rep:
|
slackpkg cannot find PACKAGES.TXT
Slackware current - 64 bit
Here is the error I get:
Code:
root@darkstar:~# slackpkg update
Updating the package lists...
Downloading...
Linking /opt/slackware-current/ChangeLog.txt...
Files /var/lib/slackpkg/ChangeLog.txt and /tmp/slackpkg.EK3qqA/ChangeLog.txt differ
List of all files
Linking /opt/slackware-current/patches/MANIFEST.bz2...
Linking /opt/slackware-current/slackware64/MANIFEST.bz2...
Linking /opt/slackware-current/extra/MANIFEST.bz2...
Linking /opt/slackware-current/pasture/MANIFEST.bz2...
Linking /opt/slackware-current/testing/MANIFEST.bz2...
Checksums
Linking /opt/slackware-current/CHECKSUMS.md5...
Linking /opt/slackware-current/CHECKSUMS.md5.asc...
Package List
Linking /opt/slackware-current/FILELIST.TXT...
Package descriptions
Linking /opt/slackware-current/patches/PACKAGES.TXT...
Linking /opt/slackware-current/slackware64/PACKAGES.TXT...
Linking /opt/slackware-current/extra/PACKAGES.TXT...
Linking /opt/slackware-current/pasture/PACKAGES.TXT...
Linking /opt/slackware-current/testing/PACKAGES.TXT...
Formatting lists to slackpkg style...
Package List: using CHECKSUMS.md5 as source
Package descriptions
cat: /tmp/slackpkg.EK3qqA/slackware64-PACKAGES.TXT: No such file or directory
root@darkstar:~#
I have a synced current on /opt/slackware-current. It didn't happen on my 32 bit current.
Here is my blacklist config:
Code:
#
# aaa_elflibs can't be updated.
#
#aaa_elflibs
# You can blacklist using regular expressions.
#
# Don't use *full* regex here, because all of the following
# will be checked for the regex: series, name, version, arch,
# build and fullname.
#
# This one will blacklist all SBo packages:
[0-9]+_SBo
calligra
Updating works though. I have re-installed slackpkg several times already. Ex: remove it then install again, removing its config files.
|
|
|
|
09-09-2012, 04:23 AM
|
#2
|
|
Senior Member
Registered: Jul 2011
Distribution: Slackware64-14.0, LFS-7.3, FreeBSD 9.1
Posts: 1,096
Rep: 
|
Run "netconfig" and have it set up your network.
|
|
|
|
09-09-2012, 05:03 AM
|
#3
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,677
Rep: 
|
Quote:
Updating the package lists...
Downloading...
Linking /opt/slackware-current/ChangeLog.txt...
|
Apparently you have a local Slackware mirror setup in /opt/slackware-current . I would start looking there. If slackpg is having issues, it is because your local mirror is not correct.
Eric
|
|
|
1 members found this post helpful.
|
09-09-2012, 07:41 AM
|
#4
|
|
Member
Registered: Nov 2006
Distribution: Slackware
Posts: 279
Original Poster
Rep:
|
Hmmm... I'll try having a fresh sync, but that would take a week  . Here is my script.
Code:
lysender@darkstar:~$ cat ~/bin/rsync-slackware.sh
rsync -rvz --delete rsync://some-awsome-mirror.org/slackware/slackware64-current/ /opt/slackware-current/
lysender@darkstar:~$
|
|
|
|
09-09-2012, 09:01 AM
|
#5
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,782
|
Better use -avz than -rvz to have a real mirror.
|
|
|
1 members found this post helpful.
|
09-09-2012, 09:14 AM
|
#6
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,853
|
even better, use -vazP
|
|
|
1 members found this post helpful.
|
09-09-2012, 09:46 AM
|
#7
|
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,180
|
Some people might not even want -z, depending on your connection speed to the server you are rsyncing to. For those with a fast enough connection it could actually slow things down.
Quote:
Originally Posted by Petri Kaukasoina
rsync uses zlib for compression. Most files in slackware mirrors are already compressed with xz, and zlib can't compress them, it just eats some additional cpu cycles.
|
Quote:
Originally Posted by Petri Kaukasoina
ok, I measured it. I transferred the slackware64-current directory (5.4GB) from an rsync server to another machine. Default configuration in both ends. Without -z the client received 5684687767 bytes and with -z it received 5674708207 bytes. So -z helps but only 0.18 percent.
Without compression the rsyncd server process used 22s cpu time and with compression 184s. That's why compression actually slows down the transfer if the connection has a large bandwidth: I have a 1Gb/s connection and it took 93s real time without compression and 230s with compression.
|
Last edited by ruario; 09-09-2012 at 09:48 AM.
|
|
|
2 members found this post helpful.
|
09-09-2012, 11:07 AM
|
#8
|
|
Member
Registered: Nov 2006
Distribution: Slackware
Posts: 279
Original Poster
Rep:
|
So -vaP is the way to go?
|
|
|
|
09-09-2012, 11:09 AM
|
#9
|
|
Member
Registered: Nov 2006
Distribution: Slackware
Posts: 279
Original Poster
Rep:
|
I just run this:
Code:
rsync -rvz --delete rsync://some-awsome-mirror.org/slackware/slackware64-current/ /opt/slackware-current/
We'll see
Thanks everyone. Will update with the issue once I'm fully synced.
|
|
|
|
09-09-2012, 04:45 PM
|
#10
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,782
|
In any case you should really use the -a instead of the -r option. Else you don't copy symlinks as symlinks, you don't preserve permissions, owner, group, devices files, special files, modification times, so really you are not making a mirror.
Last edited by Didier Spaier; 09-09-2012 at 05:00 PM.
|
|
|
|
09-10-2012, 07:41 AM
|
#11
|
|
Member
Registered: Nov 2006
Distribution: Slackware
Posts: 279
Original Poster
Rep:
|
Done with full sync for less than a day. And issue is indeed incorrect local copy.
Thanks for all that helps.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:55 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|