deb file installation

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
jerrybee
Level 2
Level 2
Posts: 74
Joined: Sun Jul 01, 2007 11:50 am
Location: GA USA

deb file installation

Postby jerrybee » Sun Sep 02, 2007 2:09 pm

Happy Labor Day.
Last night I downloaded the latest version of nerolinux from the nero site. I tried to install it in Mint using the command line "dpkg -i <filename.deb>" and received an error message saying "<filename.deb> is not a debian format archive". This morning I tried the same thing while in Debian -- got the same error message.
I can't imagine Nero putting a .deb file on their site that isn't a legit deb archive, but I also don't see any way to get tech support at that site for nerolinux.
Am I doing something wrong? Overlooking something? Assuming something that I shouldn't be? Suggestions please.
As an aside to this: I thought about trying to use Synaptic to install the .deb file, but don't know how to tell Synaptic to work on the file on my hard drive. I assume it's a matter of adding a new "repository", but don't know how to add, say, a "downloads" subdirectory to the repository list. How is that done?
TIA.
Jerry

Husse
Level 23
Level 23
Posts: 19590
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby Husse » Sun Sep 02, 2007 2:40 pm

I would not be surprised if some company did not manage to make a .deb file :)
Have tried to doubleclick it? Should start installation, but I suspect you get the same error
If you try

Code: Select all

 dpkg --unpack
what happens?
Move to an empty folder just in case
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

User avatar
scorp123
Level 8
Level 8
Posts: 2265
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Re: deb file installation

Postby scorp123 » Sun Sep 02, 2007 2:49 pm

jerrybee wrote:I tried to install it in Mint using the command line "dpkg -i <filename.deb>" and received an error message saying "<filename.deb> is not a debian format archive".
Why don't you use the 'file' utility to find out what it is?

Code: Select all

file suspiciousfileinquestion.deb
... that would spit out what file type you're dealing with regardless what the file extension says, the 'file' utility takes a look inside and will most of the time correctly guess the real tile type.

Code: Select all

file hosts.deny
hosts.deny: ASCII English text

Code: Select all

file serenity_screenlets_GlossyP_screenshot.jpg
serenity_screenlets_GlossyP_screenshot.jpg: JPEG image data, JFIF standard 1.01

Code: Select all

file contivity-vpn.deb
contivity-vpn.deb: Debian binary package (format 2.0)


Try it on the file you downloaded.

User avatar
scorp123
Level 8
Level 8
Posts: 2265
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby scorp123 » Sun Sep 02, 2007 2:51 pm

Husse wrote:If you try

Code: Select all

 dpkg --unpack
what happens?
'dpkg' has already complained that the file isn't a *.deb file, so this operation too will most likely fail. Besides: we don't even know what file type we're really dealing with.

Husse
Level 23
Level 23
Posts: 19590
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby Husse » Sun Sep 02, 2007 5:30 pm

unpack was th only thing I could come up with :)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

jerrybee
Level 2
Level 2
Posts: 74
Joined: Sun Jul 01, 2007 11:50 am
Location: GA USA

Re: deb file installation

Postby jerrybee » Mon Sep 03, 2007 8:45 am

scorp123 wrote:Why don't you use the 'file' utility to find out what it is?

Code: Select all

file suspiciousfileinquestion.deb
... that would spit out what file type you're dealing with regardless what the file extension says, the 'file' utility takes a look inside and will most of the time correctly guess the real tile type. serenity_screenlets_GlossyP_screenshot.jpg
serenity_screenlets_GlossyP_screenshot.jpg: JPEG image data, JFIF standard 1.01[/code]

Code: Select all

file contivity-vpn.deb
contivity-vpn.deb: Debian binary package (format 2.0)


Try it on the file you downloaded.


I tried using "file" on it and it returned "data" , whatever that means.

I also tried using dpkg --unpack and that didn't yield anything.

Also tried the double-click and that produced a window saying "Could not open <filename>. The package might be corrupted or you are not allowed to open the file. Check permissions of the file." I checked permissions and it's mine.

I'd thought about the possibility of it being a bad file, but thought "No, Nero wouldn't put a faulty file on their web site to be made available to the world". I've sent an email to a generic address at Nero and received an email saying they'd received it, so maybe someone will take note and check into the validity of the file -- I truly hope so.

Thanks to those who responded. Does anyone have a suggestion to the last part of my plea for help, re: adding a repository of a local subdir to Synaptic?

jerrybee
Level 2
Level 2
Posts: 74
Joined: Sun Jul 01, 2007 11:50 am
Location: GA USA

.deb file installation

Postby jerrybee » Mon Sep 03, 2007 9:10 am

Husse wrote:I would not be surprised if some company did not manage to make a .deb file :)
Have tried to doubleclick it? Should start installation, but I suspect you get the same error
If you try

Code: Select all

 dpkg --unpack
what happens?
Move to an empty folder just in case



Sorry, I didn't give a good answer to your suggestion in my previous submission. Using dpkg --unpack responded with an error message much like I'd seen before, "dpkg-deb: <filename> is not a debian format archive" .
So, it would appear that the file is at fault, not me, in my newbie nakedness. Hopefully Nero will place a correct file on their web site soon, and I'll be able to set up DVD-burning of video files soon in Linux.

Husse
Level 23
Level 23
Posts: 19590
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby Husse » Mon Sep 03, 2007 11:01 am

Download again - the file could have been corrupted during download.
Image
Don't fix it if it ain't broken, don't break it if you can't fix it


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 14 guests