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

Re: using apt-zip



Hello Paul,

On 2008-01-23 23:30 +0100, Paul Csanyi wrote:

> 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
>
> How can I solve this problem?

My crystal ball tells me that your drive is mounted with the `noexec'
option (this is the default for user-mountable devices).  You need to
mount /media/usb0 with the `exec' option, like this:

# mount -o exec /media/usb0

You need to be root to to this, but you can also specify the `exec'
option in /etc/fstab.  See mount(8) for details.

Sven


Reply to: