at bottom :- On 1/5/14, Colin Watson <[email protected]> wrote: > On Sun, Jan 05, 2014 at 12:13:55AM +0530, shirish शिरीष wrote: >> I was upgrading binfmt-support to the one in testing and came across >> the following :- >> >> Setting up binfmt-support (2.1.1-1) ... >> Installing new version of config file /etc/init/binfmt-support.conf ... >> update-binfmts: warning: current package is openjdk-7, but binary >> format already installed by openjdk-6 > > I think this relates to alternatives, but I'm not quite sure. Could you > please attach tarballs of the following directories: > > /usr/share/binfmts/ > /var/lib/binfmts/ > /proc/sys/fs/binfmt_misc/ > > -- > Colin Watson [[email protected]]
Dear Colin,
I was able to only have two archives because the last directory has 0
byte files.
This is the way I did those archives (for reference) :-
$ cd /usr/share/binfmts/
/usr/share/binfmts$ sudo tar -cvf usr-share-binfmts.tar *
[sudo] password for shirish:
jar
python2.7
python3.3
/usr/share/binfmts$
Similarly the next one :-
$ cd /var/lib/binfmts/
/var/lib/binfmts$ sudo tar -cvf var-lib-binfmts.tar *
jar
jarwrapper
python2.7
python3.3
/var/lib/binfmts$
the last one shows 0 byte files and hence I wasn't able to create a
tar archive :-
/proc/sys/fs/binfmt_misc$ ll -h
total 0
-rw-r--r-- 1 root root 0 Jan 6 2014 jar
-rw-r--r-- 1 root root 0 Jan 6 2014 jarwrapper
-rw-r--r-- 1 root root 0 Jan 6 02:19 python2.7
-rw-r--r-- 1 root root 0 Jan 6 2014 python3.3
--w------- 1 root root 0 Jan 6 02:19 register
-rw-r--r-- 1 root root 0 Jan 6 02:19 status
/proc/sys/fs/binfmt_misc$ sudo tar -cvf binfmt_misc *
tar: binfmt_misc: Cannot open: Permission denied
tar: Error is not recoverable: exiting now
Please lemme know if any more info. is needed.
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17
usr-share-binfmts.tar
Description: Unix tar archive
var-lib-binfmts.tar
Description: Unix tar archive

