It is currently Jun 26th, '19, 18:20

Topic: Dependancies for manual .deb install

Forum for projects managed by Konomi

Dependancies for manual .deb install

Unread postby Konomi » Nov 3rd, '14, 12:34

This is basically a guide on how to satisfy dependencies for a manual package you install. Likely from here! We're using zeal as a package example.

Step 1: Install the package:
Code: Select all
sudo dpkg -i ~/zeal_1.0~git20141102-kitty1_amd64.deb


Step 2: Observe the output:
Code: Select all
Selecting previously unselected package zeal.
(Reading database ... 208186 files and directories currently installed.)
Preparing to unpack .../zeal_1.0~git20141102-kitty1_amd64.deb ...
Unpacking zeal (1.0~git20141102-kitty1) ...
dpkg: dependency problems prevent configuration of zeal:
 zeal depends on libappindicator1; however:
  Package libappindicator1 is not installed.
 zeal depends on libqt5webkit5; however:
  Package libqt5webkit5:amd64 is not installed.
 zeal depends on libqt5xml5; however:
  Package libqt5xml5:amd64 is not installed.
 zeal depends on bsdtar; however:
  Package bsdtar is not installed.

dpkg: error processing package zeal (--install):
 dependency problems - leaving unconfigured
Processing triggers for mime-support (3.57) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
 zeal


Step 3: Install the dependencies you observed are missing from the output:
Code: Select all
sudo aptitude install libappindicator1 libqt5webkit5 libqt5xml5 bsdtar


Step 4: Observe the output again:
Code: Select all
The following NEW packages will be installed:
  bsdtar indicator-application{a} libappindicator1 libappindicator3-1{a} libdbusmenu-glib4{a} libdbusmenu-gtk3-4{a}
  libdbusmenu-gtk4{a} libindicator3-7{a} libindicator7{a} libqt5network5{a} libqt5opengl5{a} libqt5printsupport5{a}
  libqt5qml5{a} libqt5quick5{a} libqt5sql5{a} libqt5sql5-sqlite{a} libqt5webkit5 libqt5widgets5{a} libqt5xml5
The following partially installed packages will be configured:
  zeal
0 packages upgraded, 19 newly installed, 0 to remove and 112 not upgraded.
Need to get 0 B/15.4 MB of archives. After unpacking 60.2 MB will be used.
Do you want to continue? [Y/n/?]


Step 5: Mark the packages you manually installed as automatic:
Code: Select all
sudo apt-mark auto libappindicator1 libqt5webkit5 libqt5xml5 bsdtar


Step 6: Observe the output:
Code: Select all
libappindicator1 set to automatically installed.
libqt5webkit5 set to automatically installed.
libqt5xml5 set to automatically installed.
bsdtar set to automatically installed.


That's all you have to do to install manual packages!
1. Follow the order of operations
2. Don't hurt anyone
3. Do what you want
4. Don't talk about fight club :3
Boxedfox.org
User avatar
Konomi
Bash script kitten
 
Creator
Creator
 
Australia
Posts: 29
Joined:
Dec 2nd, '13, 02:45
Location:
Australia
Gender:
[♀] Female
Forum role:
Tech Guru
Operating system:
Linux

Return to Konomi's Corner

 

Who is online

Users browsing this forum: No registered users and 0 guests

cron