Re: Can't install packages (Ubuntu 8.04 Hardy Heron)
"Isak Savo" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
2007/11/19, Jan Niklas Hasse <[email protected]>: > On Nov 19, 2007 4:42 PM, Taj Morton <[email protected]> wrote: > > On Nov 19, 2007 7:38 AM, Jan Niklas Hasse <[email protected]> wrote: > > > It needs , you have i686. Try checking where you got this package to > > > see if there is a compatible version. > > Usually this error means that sudo is causing all environment vars to > > be reset. Try installing as user and see if you get the same error... > > I forget the name of the setting in sudo, but check the sudo.conf file. > > Where is this file located? Can't find it in /etc. It's /etc/sudoers and the option is 'env_reset'. You could try setting it just to see if it makes any difference sudo -s export VISUAL=gedit visudo Add "!env_reset" (without quotes) to the list of default options (they are comma separated, on the line that begins with "Defaults". Save the file and close the editor. Then start a new bash prompt (e.g. open a new terminal, or terminal tab in gnome-terminal) and retry the installation. Even if this works, you should not have !env_reset in the sudoers config since it's bad security. What we want to do is whitelist the few (one?) env variables that autopackage needs. Taj, do you know which envvar(s) it is that is causing this? -Isak --------------------------------------------------------------------- To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]