LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   slackpkg complains about missing files (http://www.linuxquestions.org/questions/linux-software-2/slackpkg-complains-about-missing-files-760947/)

KMBS 10-10-2009 03:34 AM

slackpkg complains about missing files
 
Hi everyone!

This forum helped me a lot ever since i converted to linux.
This time i have to post a thread myself since i couldn't find one that solved my problem and google failed me (except for some pages in italian, which i don't understand :) ).

I recently installed Slackware 13. I was looking for an equivalent to apt-get which i'm accustomed to.
So installed slackpkg, choose a mirror from /etc/slackpkg/mirrors and tried
Code:

slackpkg update
which worked fine until:

Code:

cp: cannot stat `/tmp/slackpkg.IcmmwI/CHECKSUMS.md5': No such file or directory
                Package descriptions
        Formatting lists to slackpkg style...
                Package List
cp: cannot stat `/tmp/slackpkg.IcmmwI/*-filelist.gz': No such file or directory
                Package descriptions
cp: cannot stat `/tmp/slackpkg.IcmmwI/PACKAGES.TXT': No such file or directory

I was looking for some help in IRC channels, the only hints i got were "You don't have enough diskspace" and "You don't have a tmp directory".
Well, there's plenty of diskspace and i certainly have /tmp.

Any help is appreciated. :)

lutusp 10-10-2009 03:59 AM

Quote:

Originally Posted by KMBS (Post 3714357)
Hi everyone!

This forum helped me a lot ever since i converted to linux.
This time i have to post a thread myself since i couldn't find one that solved my problem and google failed me (except for some pages in italian, which i don't understand :) ).

I recently installed Slackware 13. I was looking for an equivalent to apt-get which i'm accustomed to.
So installed slackpkg, choose a mirror from /etc/slackpkg/mirrors and tried
Code:

slackpkg update
which worked fine until:

Code:

cp: cannot stat `/tmp/slackpkg.IcmmwI/CHECKSUMS.md5': No such file or directory
                Package descriptions
        Formatting lists to slackpkg style...
                Package List
cp: cannot stat `/tmp/slackpkg.IcmmwI/*-filelist.gz': No such file or directory
                Package descriptions
cp: cannot stat `/tmp/slackpkg.IcmmwI/PACKAGES.TXT': No such file or directory

I was looking for some help in IRC channels, the only hints i got were "You don't have enough diskspace" and "You don't have a tmp directory".
Well, there's plenty of diskspace and i certainly have /tmp.

Any help is appreciated. :)

You need to run this task as root. This is just a generic suggestion and it doesn't explain the missing files in /tmp.

Make sure you have universal read/write for /tmp. This is another generic piece of advice, it shouldn't have affected the outcome of the update if you were running as root.

KMBS 10-10-2009 04:05 AM

Quote:

Originally Posted by lutusp (Post 3714377)
You need to run this task as root. This is just a generic suggestion and it doesn't explain the missing files in /tmp.

Make sure you have universal read/write for /tmp. This is another generic piece of advice, it shouldn't have affected the outcome of the update if you were running as root.


Code:

root@slack:~# ls -ld /tmp/
drwxrwxrwt 5 root root 4096 2009-10-10 12:51 /tmp//


KMBS 10-10-2009 04:19 AM

Maybe this helps, this is the portuguese (not italian :) ) thread i found.

http://tinyurl.com/yzptxdq

This guy is only missing /tmp/slackpkg.N2GFQe/PACKAGES.TXT

The other two (that i am missing) are being downloaded with slackpkg update in his case.

Here is what my output looks like:


Code:

Updating the package lists...
        Downloading...
                        Downloading ChangeLog.txt...
--2009-10-10 13:15:02--  ftp://ftp.belnet.be/packages/slackware/slackware-13.0/C          hangeLog.txt
          => `/tmp/slackpkg.8QQLgi/ChangeLog.txt'
Resolving ftp.belnet.be... 193.190.67.15, 2001:6a8:a40::21
Connecting to ftp.belnet.be|193.190.67.15|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /packages/slackware/slackware-13.0 ... done.
==> SIZE ChangeLog.txt ... 222034
==> PASV ... done.    ==> RETR ChangeLog.txt ... done.
Length: 222034 (217K)

100%[======================================>] 222,034      240K/s  in 0.9s   

2009-10-10 13:15:04 (240 KB/s) - `/tmp/slackpkg.8QQLgi/ChangeLog.txt' saved [222          034]


                No changes in ChangeLog.txt between your last update and now.
                Do you really want to download all other files (y/N)? y

                List of all files
                Package List
                        Downloading FILELIST.TXT...
--2009-10-10 13:15:05--  ftp://ftp.belnet.be/packages/slackware/slackware-13.0/F          ILELIST.TXT
          => `/tmp/slackpkg.8QQLgi/FILELIST.TXT'
Resolving ftp.belnet.be... 193.190.67.15, 2001:6a8:a40::21
Connecting to ftp.belnet.be|193.190.67.15|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /packages/slackware/slackware-13.0 ... done.
==> SIZE FILELIST.TXT ... 850387
==> PASV ... done.    ==> RETR FILELIST.TXT ... done.
Length: 850387 (830K)

100%[======================================>] 850,387      306K/s  in 2.7s   

2009-10-10 13:15:09 (306 KB/s) - `/tmp/slackpkg.8QQLgi/FILELIST.TXT' saved [8503          87]

cp: cannot stat `/tmp/slackpkg.8QQLgi/CHECKSUMS.md5': No such file or directory
                Package descriptions
        Formatting lists to slackpkg style...
                Package List
cp: cannot stat `/tmp/slackpkg.8QQLgi/*-filelist.gz': No such file or directory
                Package descriptions
cp: cannot stat `/tmp/slackpkg.8QQLgi/PACKAGES.TXT': No such file or directory

I triec different mirrors, but the output is the same everytime (except the lines mentioning the mirror of course).
And i haven't modified /etc/slackpkg/slackpkg.conf in any way.

~sHyLoCk~ 10-10-2009 04:25 AM

You can try slapt-get as you said you were looking for an alternative to apt-get


All times are GMT -5. The time now is 09:52 PM.