[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using apt-zip



Thu, 24 Jan 2008 10:46:02 +0000 keltezéssel Csányi Pál azt írta:

> Wed, 23 Jan 2008 23:30:07 +0100 keltezéssel Paul Csanyi azt írta:
> 
>> Hello!
>> 
>> I am using apt-zip to upgrade my old laptop from Etch testing
>> (when I installed on tjis laptop Debian Etch, then Etch was in
>> testing state) to Etch stable.
>> 
>> I red the tutorial
>> http://linuxbasics.org/tutorials/using/apt-zip
>> 
>> and man apt-zip.
>> 
>> I did the following steps:
>> 
>> sudo aptitude update
>> mount /media/usb0
>> apt-zip-list -m /media/usb0 -a dist-upgrade
>> 
>> mount /media/usb0
>> try to run in the usb0/
>> 
>> ./fetch-script-wget-debian-asztal
>> but get error message:
>> bash: ./fetch-script-wget-debian-asztal: /bin/sh: bad interpreter:
>> Permission denied
> 
> When I try this with sudo:
> sudo /media/usb0/fetch-script-wget-debian-asztal 
> sudo: unable to execute /media/usb0/fetch-script-wget-debian-asztal:
> Permission denied
> 
> What permission to give to the /media/usb0/ directory?
> 
> The permissions are now:
> 
> $ LANG=en_EN ls -ln /media/usb0/
> total 24
> -rw-r--r-- 1 1000 1000   184 Jan 24 00:12 apt-zip.options
> -rwxr--r-- 1 1000 1000   926 Jan 24 00:12 fetch-script-wget-debian-asztal
> drwx------ 2 1000 1000 16384 Jan 23 23:47

$ LANG=en_EN ls -ln /media
total 38
...
lrwxrwxrwx  1    0    0    4 Jan 20 15:40 usb -> usb0
drwxr-xr-x  3 1000 1000 4096 Jan 24 00:00 usb0
...

On the usb drive I have ext3 filesystem.

-- 
Regards, Paul


Reply to: