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

Re: Bug in mediathekview?



> Aha. What about:
> 
> strace -f dpkg --print-architecture
>
> 
> Reco

See:

strace -f dpkg --print-architecture
execve("/usr/bin/dpkg", ["dpkg", "--print-architecture"], [/* 46 vars */]) = 
-1 EACCES (Permission denied)
dup(2)                                  = 3
fcntl(3, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f9d83fe6000
lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Permission denied\n", 32strace: exec: Permission 
denied
) = 32
close(3)                                = 0
munmap(0x7f9d83fe6000, 4096)            = 0
exit_group(1)                           = ?


Permission denied.

See also:
ls -la /etc/dpkg/
insgesamt 48
drwxr-xr-x   5 root root  4096 Jun 11 08:47 .
drwxr-xr-x 273 root root 16384 Jul  2 20:20 ..
-rw-r--r--   1 root root   446 Apr  9  2008 dpkg.cfg
drwxr-xr-x   2 root root  4096 Sep  6  2009 dpkg.cfg.d
-rw-r--r--   1 root root   232 Jan 19  2006 dselect.cfg
drwxr-xr-x   2 root root  4096 Sep  6  2009 dselect.cfg.d
drwxr-xr-x   2 root root  4096 Mai 10 14:07 origins
-rw-r--r--   1 root root   260 Jan 19  2006 shlibs.default
-rw-r--r--   1 root root   253 Jan 19  2006 shlibs.override

I see no mistakes here. 

But could you please check this one at your system?

ls -la /usr/bin/dpkg
-rwxr-x--- 1 root root 265840 Jun  5 21:26 /usr/bin/dpkg

This looks wrong for me, although I didn't change anything.

Best 

Hans





Reply to: