Cannot install strace on Parrot Linux - linux

I use Parrot OS. As I found out, strace is a basic package which i can install just by apt-get install strace. But i just get
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package strace is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'strace' has no installation candidate
Why so? M/b somebody nows

According to the parrot repo, the strace package is present.
This means that either your apt database is outdated, in this case, you can update it using apt update, or apt is not using this repo.
If so, you can add the Parrot Repo by creating/updating your /etc/apt/sources.list.d/parrot.list file with the content provided in the documentation of Parrot. Then you can update the list of packages and retry the installation!

Related

Why do i get this error when running "sudo apt install -y mongodb" in terminal

I am trying to install mongodb on my pop os linux.
I ran this:
sudo apt install -y mongodb
Then it said this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mongodb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'mongodb' has no installation candidate
How do i fix it? Is there a way to?
Assuming you're using Ubuntu you'll have to enable the universe repo.

How to I install this dependency?

I'm trying to install a .deb package with dpkg -i, but I get this error:
dpkg: dependency problems prevent configuration of modelio-open-source4.1:
modelio-open-source4.1 depends on libwebkitgtk-1.0-0; however:
Package libwebkitgtk-1.0-0 is not installed.
So it seems I need to install libwebkitgtk-1.0-0. So I run sudo apt install libwebkitgtk-1.0-0, but I get this output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libwebkitgtk-1.0-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libwebkitgtk-1.0-0' has no installation candidate
How do I fix this? I really need this installed for school, and the clock is ticking...

E: Package 'gdb-arm-linux-gnueabi' has no installation candidate

I try to install gdb-ARM for cross compile on my ubuntu 14.04 x86 architecture . I want to debug a program on my target with an ARM architecture.I tried this command :
sudo apt-get install gdb-arm-linux-gnueabi
I got this error :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gdb-arm-linux-gnueabi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gdb-arm-linux-gnueabi' has no installation candidate
any help please ?
You may want to try sudo apt install binutils-mips64el-linux-gnuab or sudo apt install gdb-arm-none-eabi

package list - linux mint

when i was trying to fix an error in my linux mint, i accidentally, removed package list, now i can't install anything, how can i fix this?
i a beginner with linux..
i'm using linux mint 16 petra Mate edition.
follows the log:
charles#charles /etc/apt $ sudo apt-get install ubuntu-tweak
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ubuntu-tweak : Depends: python-compizconfig but it is not installable
E: Unable to correct problems, you have held broken packages.
How did you remove your package list? You should be able to restore it by finding the official repository list on the Linux Mint site, and then making sure your /etc/apt/sources.list.d/official-package-repositories.list matches what they have.
Firstly, I would run sudo apt-get update though, in order to see what you're missing. That in itself might fix your problem.
Try the following.
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

not able to install samba

I had to uninstall samba, because I had configured it wrong. But now when i try to reinstall it using sudo apt-get install samba smbfs, I get the output:-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package samba is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
samba-common
Package smbfs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'samba' has no installation candidate
E: Package 'smbfs' has no installation candidate
I am nor able to download it via ubuntu Software center.
Any help is appreciated
Thank you
First uninstall it completely
Sudo apt-get autoremove samba4
then reinstall
Sudo apt-get install samba4

Resources