install debian packages `/var/lib/dpkg/status' [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

install debian packages `/var/lib/dpkg/status' [Solved]

Postby fjkhf » Sun Oct 27, 2013 12:59

Hello ,

I want to install a deb package but when I run

Code: Select all
dpkg -i file.deb



it gives me

dpkg: error: failure opening ... `/var/lib/dpkg/status' No such file or folder


ls /var/lib/dpkg

alternatives available info lock parts updates


The 'status' file doesn't exist
What can I do?
Thanks!
Last edited by fjkhf on Sun Oct 27, 2013 22:52, edited 1 time in total.
fjkhf
Simple Hen
 
Posts: 97
Joined: Tue Jun 26, 2012 13:41

Re: install debian packages `/var/lib/dpkg/status' no such f

Postby linuxfluesterer » Sun Oct 27, 2013 13:46

You want to install a .deb package on a Sabayon system?
I have found and also tried myself also, this:
Code: Select all
... The 'ar' utility that is already on his (and your) system can extract the various parts of .deb files.

Means, you do a:
Code: Select all
ar x xyz.deb
.
You will get a file with name 'data.tar.gz', a zipped file.
When you unzip this data.tar.gz, then you will see a structure with /usr and more....
Now you can (you must) exactly move this structure to the matching location on your hdd. Be root for this.
But be careful. The deb packages are NOT part of Sabayon maintenance, may harm, not be updated automatically!
Hope to help you anyway.

-Linuxfluesterer (I love KDE ...)
TTIP is NOT YET stopped. Especially consider NHS and ISDS topics. Talk to your local politician to open eyes for danger to democracy because of TTIP
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 699
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: install debian packages `/var/lib/dpkg/status' no such f

Postby fjkhf » Sun Oct 27, 2013 13:52

So , I am receiving 2 folders

usr and opt

And these have subfolders.

Now , I must move them to the 'same' root filesystem?

Also , it has a file control.tar.gz.
What am I supposed to do with that?

Thanks!
fjkhf
Simple Hen
 
Posts: 97
Joined: Tue Jun 26, 2012 13:41

Re: install debian packages `/var/lib/dpkg/status' no such f

Postby linuxfluesterer » Sun Oct 27, 2013 14:14

Copy the contents of /usr according to your own system and the /opt also.
The control.tar.gz you don't need...
Check, /opt/bin is part of your $PATH with:
Code: Select all
echo $PATH

-Linuxfluesterer (I love KDE ...)
TTIP is NOT YET stopped. Especially consider NHS and ISDS topics. Talk to your local politician to open eyes for danger to democracy because of TTIP
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 699
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: install debian packages `/var/lib/dpkg/status' no such f

Postby fjkhf » Sun Oct 27, 2013 16:45

Ok , I did all the above .And now how am I supposed to install the software??I can't find a file to make the install.

Note that the deb package had a debian-binary.
fjkhf
Simple Hen
 
Posts: 97
Joined: Tue Jun 26, 2012 13:41

Re: install debian packages `/var/lib/dpkg/status' no such f

Postby linuxfluesterer » Sun Oct 27, 2013 17:15

All the debian packages include binaries. What they do NOT include, are eventually needed libraries.
But if those libraries are installed under a linux system like Debian or SuSE or Gentoo (hier Sabayon)
then you should be able to execute your program.
I assume your (debian!) binary is in /opt/bin directory?
Try it, open a console, write the command and execute it.
In a case, I remember, I've installed " kde-service-menu-fuseiso.deb" to mount an iso file in menue of Dolpphin.
I've found a .deb file, made 'ar x kde-service-menu-fuseiso.deb', and then I unzipped data.tar.gz.
Then all components of this data.tar.gz, I have moved to the according place of my system.
Exactly, I needed to install "fuseiso" also. But in comparison to "kde-service-menu-fuseiso", "fuseiso" was found in rigo,
so after I've copied the data.tar.gz files, I could directly find the menue extension to mount an iso file in Dolphin menue (under action menue).
So, try it, pls.

-Linuxfluesterer (I love KDE ...)
TTIP is NOT YET stopped. Especially consider NHS and ISDS topics. Talk to your local politician to open eyes for danger to democracy because of TTIP
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 699
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: install debian packages `/var/lib/dpkg/status' no such f

Postby fjkhf » Sun Oct 27, 2013 17:42

Hello ,

the file debian-binary was in the initial deb package.It wasn't in the 'data.tar.gz' file.

Anyway , I removed it in /opt/bin but when I try to run it it gives:

bash: ./debian-binary: Access Denied


( I run it as root "./debian-binary" )

Unfortunately the application doesn't exist in repositories.I am trying to install justcloud.

Thank you!
fjkhf
Simple Hen
 
Posts: 97
Joined: Tue Jun 26, 2012 13:41

Re: install debian packages `/var/lib/dpkg/status' no such f

Postby linuxfluesterer » Sun Oct 27, 2013 18:08

Do you have a URL, that I can download your deb package?
What is it? I may try to do here myself...

-Linuxfluesterer (I love KDE ...)
TTIP is NOT YET stopped. Especially consider NHS and ISDS topics. Talk to your local politician to open eyes for danger to democracy because of TTIP
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 699
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Re: install debian packages `/var/lib/dpkg/status' no such f

Postby fjkhf » Sun Oct 27, 2013 18:51

It is from here http://www.justcloud.com.

Unfortunately I can't upload the file and I think you have to sighn up in order to download it.
fjkhf
Simple Hen
 
Posts: 97
Joined: Tue Jun 26, 2012 13:41

Re: install debian packages `/var/lib/dpkg/status' no such f

Postby linuxfluesterer » Sun Oct 27, 2013 20:10

I have downloaded the 64bit deb package and installed the way, I've described before, into /usr and /opt also.
Now in /opt I see '_--_Brand_--_' and in this directory I see some libraries (.so) and maintain as executable.
When I started this manually, I received errors, at least that a library with name 'libpng12.so.0' can not be opened, because no such file or directory.
Here, I can't help you anymore. Exactly, I don't really understand, how justcloud is being activated (I did a reboot also).
Sorry.

-Linuxfluesterer (I love KDE ...)
TTIP is NOT YET stopped. Especially consider NHS and ISDS topics. Talk to your local politician to open eyes for danger to democracy because of TTIP
User avatar
linuxfluesterer
Old Dear Hen
 
Posts: 699
Joined: Thu Sep 20, 2012 19:47
Location: Germany

Next

Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 2 guests

cron