LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-25-2011, 07:00 PM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
how do i check that a deb will not overwrite anything...?


Hi

I have this deb from a package in unstable...

It calls for libhdf5-openmpi, which is not compatible with libhdf5-serial which in turn is used by several packages that i have installed...

It's either the serial or the openmpi version... not both.

Since this specific package from sid calls for this dependence, which way do i have to check that if i override dependency checking it wont overwrite anything along the way...?

All other dependencies can be met... except this particular one...

And i wont be using the functionality that calls for openmpi...
 
Old 02-26-2011, 12:01 AM   #2
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Two questions:
Which version of Debian are you using: stable, testing or unstable?
What package do you want to install?

Look here:
http://www.debianuserforums.org/viewtopic.php?f=9&t=127
 
1 members found this post helpful.
Old 02-26-2011, 12:27 PM   #3
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Quote:
Originally Posted by j1alu View Post
Two questions:
Which version of Debian are you using: stable, testing or unstable?
What package do you want to install?

Look here:
http://www.debianuserforums.org/viewtopic.php?f=9&t=127
Hi

Thkz for your reply...

I want to build Salome, and getdp, from Sid but Salome asks for med libraries ( present in Squeeze but not installable ) which in turn asks for libhdf5-openmpi.

Libhdf5-openmpi cannot get along with libhdf5-serial, and <>-serial are required for lots of stuff that i use...

This is why i was considering :

1. Either recompile the dependent libraries and packages using libhdf5-serial ( the hardest way ) or
2. Find some magic fix that allows apt-get to place <openmpi> and <serial> all together in the same system...

BRGDS

Alex
 
Old 02-26-2011, 01:00 PM   #4
eveningsky339
Member
 
Registered: Mar 2010
Location: Western Maine
Distribution: PCLinuxOS (LXDE)
Posts: 466

Rep: Reputation: 51
Could you do some sources.list editing to get it from a repository? Apt should take care of the "overwriting" problem.
 
Old 02-26-2011, 04:27 PM   #5
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
I got no idea, sorry.

Perhaps try the salome forum:
http://www.salome-platform.org/forum
 
Old 02-26-2011, 05:21 PM   #6
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Quote:
Originally Posted by eveningsky339 View Post
Could you do some sources.list editing to get it from a repository? Apt should take care of the "overwriting" problem.

Hi...

I picked the packages already...

I'm just afraid to break something in Synaptic, or damaging my system running dpkg -i <> *.deb on alien packages...
 
Old 03-02-2011, 10:08 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Unpack the package using ar:

Code:
ar x foo.deb
Check the data.tar.gz file:
Code:
tar tzf data.tar.gz
Potential overwriting of any files listed from the above will be protected against by dpkg.

However, you should check the pre and post install scripts, since dpkg will not
protect against potential damage they could cause:
Code:
tar xzf control.tar.gz
The look at the scripts preinst and postinst (if they exist).

Cheers,

Evo2.
 
1 members found this post helpful.
Old 03-03-2011, 11:16 AM   #8
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Thx Evo2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unpack multiple deb files with dpkg-deb? steve51184 Linux - Software 2 02-13-2011 09:48 AM
How can I run this .deb file: install_flash_player_10_linux.deb abefroman Linux - Desktop 1 11-04-2009 11:02 AM
Is "kernel-image-x_i386.deb or i586.deb the right image for P4 processor? davidas Debian 1 04-06-2004 04:50 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 03:10 AM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration