LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 07-06-2021, 09:32 AM   #1
BudiKusasi
Member
 
Registered: Apr 2017
Distribution: Artix
Posts: 345

Rep: Reputation: 15
To tell for dpkg -i to refer the dependency other than found dependencies, in a dir.


How, on common Debian stable, do we tell on dpkg -i a package to get the dependency other than found dependencies, in a certain location ? e.g:

Code:
$ sudo dpkg -i foobar_99_amd64.deb

(Reading database ... 355213 files and directories currently installed.)
Preparing to unpack foobar_99_amd64.deb ...
Unpacking foobar_99 ...
dpkg: dependency problems prevent configuration of foobar:
 foobar depends on python3 (>= 3.9~); however:
  Version of python3 on system is 3.7.3-1.
 foobar depends on libc6 (>= 2.29); however:
  Version of libc6:amd64 on system is 2.28-10.
 foobar depends on libocct-foundation-7.5 (>= 7.5.1+dfsg1); however:
  Package libocct-foundation-7.5 is not installed.
These three has been prepared in a dir., e.g., /baz

So how definitively solving it for foobar or another else package whenever some its depedencies are not ready on mainstream dir. but really are in the prepared one ?
 
Old 07-06-2021, 10:34 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
You would put all the dependencies on the same dpkg -i package1.deb package2.deb package3.deb ..., then it should install. But not with the system packages you have there, it tries to have you install new python and libc packages at higher version than you have in your system. The only ways it will work is if you get the source package and rebuild it for the system you have or upgrade to the system version that has the required packages. The libc6 is the base of your entire system all packages are built using it and its supporting packages at that version level it is not upgraded at all to new versions, only when you go to a newer system that is built with the higher version will it install.
 
1 members found this post helpful.
  


Reply

Tags
debian stable



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copying files from home dir to another dir from another dir in a lower dir chomito44 Linux - General 5 10-19-2013 06:18 PM
Move files contained in source dir to destination dir, but not source dir itself unixunderground Linux - Software 3 09-20-2013 11:17 AM
tar dir and sub dir removing files but not existing not empty dir j-me Linux - General 2 08-12-2013 11:37 AM
exclude parameter of rsync- 'dir' vs "dir" vs dir rng Linux - General 5 06-13-2012 01:47 AM
Command to display /dir, /dir/sub, /dir/sub/files knockout_artist Linux - Newbie 9 10-25-2007 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 06:49 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
Open Source Consulting | Domain Registration