LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-11-2005, 01:23 AM   #1
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
#slapt-get --update............getting errors


Hello all,
for the first time i'm using slapt-get.
[HTML]installed it properly.
Downloaded slapt-get...........tgz
Did the following as root

# installpkg slapt-...tgz[/HTML]

[HTML]# cat slapt-getrc

WORKINGDIR=/root/Desktop/MyComputer/winD/Slapt-get/
EXCLUDE=^kernel-.*,^alsa-.*,^glibc.*,.*-[0-9]dl$,^devs$,^udev$,aaa_elflibs,x86_64
SOURCE=ftp://ftp.slackware.com/pub/slackware/slackware-10.0/
SOURCE=http://software.jaos.org/slackpacks/10.0/
[/HTML]

But now while updating i'm getting the following errors
[HTML]# slapt-get --update
Retrieving package data [ftp://ftp.slackware.com/pub/slackware/slackware-10.0/].lackware.com#pub#slackware#slackware-10.0#PACKAGES.TXT.head
.ftp:##ftp.slackware.com#pub#slackware#slackware-10.0#PACKAGES.TXT.head: Invalid
root@bond:/# slapt-get --simulate --update
Retrieving package data [ftp://ftp.slackware.com/pub/slackware/slackware-10.0/]...Failed to open .ftp:##ftp.slackware.com#pub#slackware#slackware-10.0#PACKAGES.TXT.head
.ftp:##ftp.slackware.com#pub#slackware#slackware-10.0#PACKAGES.TXT.head: Invalid argument
[/HTML]
where is the problem now ???

regards
 
Old 12-11-2005, 01:53 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I see nothing wrong there, the only thing that differs from my config file is the last / on WORKINGDIR and the empty line at the beggining of the file (at least, it seems there's one here in the forum).
I would suggest you to try another mirror, since Slackware's one is used to syncronize the mirrors so it gets a huge load of data.
 
Old 12-11-2005, 07:46 AM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Hello gbonvehi,
I amended both the things which you pointed in your post.
But problem still persisted.
I even tried by switching to some other mirrors.
By hit-n-trial i found the error.

Quote:
WORKINGDIR=/root/Desktop/MyComputer/winD/Slapt-get
EXCLUDE=^kernel-.*,^alsa-.*,^glibc.*,.*-[0-9]dl$,^devs$,^udev$,aaa_elflibs,x86_64
SOURCE=ftp.slackware.com/pub/slackware/slackware-10.0/
the source last time was
Quote:
SOURCE=ftp://ftp.slackware.com/pub/slackware/slackware-10.0/
so u see......the problem is with the URL.
Could any one explain it a bit more...

regards
 
Old 12-11-2005, 10:14 PM   #4
jaos
LQ Newbie
 
Registered: Aug 2005
Posts: 23

Rep: Reputation: 5
Quote:
Originally Posted by ruudra
Hello all,
for the first time i'm using slapt-get.
[HTML]installed it properly.
Downloaded slapt-get...........tgz
Did the following as root

# installpkg slapt-...tgz[/HTML]

[HTML]# cat slapt-getrc

WORKINGDIR=/root/Desktop/MyComputer/winD/Slapt-get/
EXCLUDE=^kernel-.*,^alsa-.*,^glibc.*,.*-[0-9]dl$,^devs$,^udev$,aaa_elflibs,x86_64
SOURCE=ftp://ftp.slackware.com/pub/slackware/slackware-10.0/
SOURCE=http://software.jaos.org/slackpacks/10.0/
[/HTML]

But now while updating i'm getting the following errors
[HTML]# slapt-get --update
Retrieving package data [ftp://ftp.slackware.com/pub/slackware/slackware-10.0/].lackware.com#pub#slackware#slackware-10.0#PACKAGES.TXT.head
.ftp:##ftp.slackware.com#pub#slackware#slackware-10.0#PACKAGES.TXT.head: Invalid
root@bond:/# slapt-get --simulate --update
Retrieving package data [ftp://ftp.slackware.com/pub/slackware/slackware-10.0/]...Failed to open .ftp:##ftp.slackware.com#pub#slackware#slackware-10.0#PACKAGES.TXT.head
.ftp:##ftp.slackware.com#pub#slackware#slackware-10.0#PACKAGES.TXT.head: Invalid argument
[/HTML]
where is the problem now ???

regards
What sort of filesystem is "/root/Desktop/MyComputer/winD/Slapt-get/" ?

Is that an NTFS or FAT partition? Have you tried setting WORKINGDIR to /var/slapt-get ?


take care,
jason
 
Old 12-13-2005, 01:06 AM   #5
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by jaos
What sort of filesystem is "/root/Desktop/MyComputer/winD/Slapt-get/" ?

Is that an NTFS or FAT partition? Have you tried setting WORKINGDIR to /var/slapt-get ?


take care,
jason
Hello jason,
File system is FAT.
I changed the setting of WORKINGDIR to /var/slapt-get.........and it worked.
I also tried with /slapt-get.......this time also worked.

So what could be the problem ???
It seems that this folder has to reside only on linux file system and not on windows.
Any suggestions ???

regard
 
Old 12-13-2005, 08:14 AM   #6
jaos
LQ Newbie
 
Registered: Aug 2005
Posts: 23

Rep: Reputation: 5
Quote:
Originally Posted by ruudra
Hello jason,
File system is FAT.
I changed the setting of WORKINGDIR to /var/slapt-get.........and it worked.
I also tried with /slapt-get.......this time also worked.

So what could be the problem ???
It seems that this folder has to reside only on linux file system and not on windows.
Any suggestions ???

regard
FAT partitions have a filename length limit. slapt-get is attempting to cache the downloaded package information using a filename similar to the package source url. This filename is being truncated by the filesystem layer.


take care,
jason
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smpatch update errors... jsheffie Solaris / OpenSolaris 7 09-02-2005 06:32 AM
/etc/slapt-getrc modification fails to influence slapt-get timsch75 Slackware 1 04-07-2004 08:48 AM
slapt-get --update problems jsfour Slackware 0 02-21-2004 03:45 PM
slapt-get can't update moonloader Slackware 3 02-21-2004 06:56 AM
update errors gibbylinks Fedora 3 11-12-2003 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration