A question about groups

stan stanb at panix.com
Sun Apr 5 13:43:05 UTC 2020


On Sun, Apr 05, 2020 at 11:31:48PM +1000, Karl Auer wrote:
> On Sun, 2020-04-05 at 08:23 -0400, stan wrote:
> > I am trying to build an example package from source
> 
> Some Googling of the error message throws up a bug report and some
> possible workarounds.
> 
> https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1543280
> 
> https://askubuntu.com/questions/954862/couldnt-be-accessed-by-user-apt-
> pkgacquirerun-13-permission-denied
> 
> Not mentioned that I saw, but one simple workaround is to write into a
> directory that an unprivileged user can definitely write to. Try doing
> it in /tmp for example. But you don't really have to, as this bug is
> (for source installs) harmless as far as I can tell.
> 

This step

dpkg-source -x mplayer_version-revision.dsc

fails like this:

dpkg-source: error: cannot read mplayer_version-revision.dsc: No such file
or directory

and this one

 DEB_BUILD_OPTIONS="--enable-gui --enable-radio --disable-ivt" fakeroot
 debian/rules binary

 fails with lots of

 ./configure: 1498: ./configure: cannot create config.log: Permission
 denied

 I am running this i a directory that I just created as a non root user,
 that I have full write permissions to.

 Thus the question about adding that user to group(s) as this is run by
 fakeroot, does that change to a specific user.

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin




More information about the ubuntu-users mailing list