PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0
Showing posts with label dpkg. Show all posts
Showing posts with label dpkg. Show all posts

Sunday, May 15, 2022

[FIXED] How to install multiple .deb files but in specific order with single linux command

 May 15, 2022     bash, debian, dpkg, linux, ubuntu     No comments   

Issue

I have 4 debian installer :

abc.deb
jkl.deb
pqr.deb
xyz.deb

I want to install jkl and xyz first, and then I want to install abc.deb and pqr.deb. So the sequence/order the .deb files should be installed should be : jkl.deb , xyz.deb, abc.deb, pqr.deb.

PS:

  1. When I am trying to run apt-get install ./*.deb it is picking the .deb files in random (or maybe alphabetically) order.
  2. So I did apt-get install ./jkl.deb ./xyz.deb ./abc.deb ./pqr.deb but still I am seeing that pqr.deb is Setting up first before abc.deb

Can someone let me know how can i install these four deb in specific order by single linux command ?


Solution

Try

apt-get install ./jkl.deb && apt-get install ./xyz.deb && apt-get install ./xyz.deb && apt-get install ./pqr.deb


Answered By - Max888
Answer Checked By - Terry (PHPFixing Volunteer)
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg

Saturday, May 14, 2022

[FIXED] How to install dpkg without dpkg, apt and ar

 May 14, 2022     apt, dpkg, linux, ubuntu     No comments   

Issue

Today I've uninstalled bash on my wsl system (because I wanted to be very funny). But I think that bash had references to apt and dpkg. So after I ran the command sudo apt remove bash everything was gone.

It's not really a problem, because there is no important data or so. I just wanted to know how to reinstall everything again.

I've already googled and I've found out that apt needs dpkg so I need to install dpkg so that I can install the apt deb with dpkg. To install dpkg I've already downloaded the deb and extracted the data.tar.gz, but I've no idea how to continue.


Solution

Since you uninstalled dpkg you can't install it again using a deb since you will need dpkg to install dpkg! You might want to try this other answer from the AskUbuntu forum. Technically you can also build and install dpkg from the source code but I would recommend you reinstall your system since you have no important data on it.



Answered By - Amine Slama
Answer Checked By - Senaida (PHPFixing Volunteer)
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Older Posts Home

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
All Comments
Atom
All Comments

Copyright © PHPFixing