I have a dedicated server on centos. I want to install a software via a makefile, so I need the "make" package. I've tried to install the "make" package with "yum install make".
During the installing, it freezes for about 30 minutes so I killed the process.
Since then, I cannot install any package. I've tried reinstalling "make" (wich had never finished) and another package.
Yum seems to start but doesn't wirte anything and freezes there.
Is there a way to "restart" yum? Or a way to "repair" it?
What yum install says? Try to disable all plug-ins by setting enabled=0 in /etc/yum.conf and restart installing.
Related
The R16B version isn't working with the latest version of RabbitMQ I'm trying to install on my VM (needs 23.3 or later) and I already tried to install 25.0.3 but it won't install because it's conflicting with the R16B files that exist.
file /usr/bin/typer from install of esl-erlang-25.0.3-1.x86_64 conflicts with file from package erlang-typer-R16B-03.18.el7.x86_64
That's the error I get. I tried rm -r erlang*.rpm and it asks for a reboot after completing but still gives the same errors.
With this command you just delete the rpm. What you want is to deinstall the rpm. You could use
dnf uninstall PACKAGENAME
where, in your case, PACKAGENAME whould be something like erlang-typer-R16B-03.18.el7.
i have an device running on Pure Linux, there is no Package installer installed on that, the only thing i have is SSH and therefore also an Terminal. Commands like apt-get, dpkg, yum dont work.
How do i install apt-get over SSH? I've saw some suggestions that use yum, make or dpkg to install apt-get, but since i've neither of them...
For debian based systems exists a tool called apt-offline. That's perfect in that scenario.
https://wiki.ubuntuusers.de/apt/apt-offline/
I'm trying to install haskell-platform on my Windows 10 linux subsystem, but just installing it throws a ton of errors. I tried this, according to the haskell site:
$ sudo apt-get install haskell-platform
And it threw more than my terminal saved, and this at the end.
Errors were encountered while processing:
ghc
libghc-text-dev
libghc-attoparsec-dev
libghc-hunit-dev
ghc-haddock
libghc-stm-dev
libghc-async-dev
libghc-hashable-dev
libghc-case-insensitive-dev
libghc-extensible-exceptions-dev
libghc-transformers-dev
libghc-mtl-dev
libghc-monadcatchio-mtl-dev
libghc-parsec3-dev
libghc-network-dev
libghc-xhtml-dev
libghc-cgi-dev
libghc-fgl-dev
libghc-openglraw-dev
libghc-gluraw-dev
libghc-opengl-dev
libghc-glut-dev
libghc-syb-dev
libghc-haskell-src-dev
libghc-html-dev
libghc-http-dev
libghc-parallel-dev
libghc-primitive-dev
libghc-random-dev
libghc-quickcheck2-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried to apt-get remove, but it threw errors and didn't complete that, either. Is there a safe way to start over and try again? Has anyone else encountered this kind of problem?
The issue is that timer_create is not implemented on your current build of the Windows Linux subsystem, aka WSL. If you have a recent OS, you can uninstall your current WSL and reinstall it. This will only work if your Windows version is 64-bit and build 1607 or later. You can find the build number from Start menu Settings, then select System -> About
Use the following commands from a command shell (not bash shell) to uninstall and reinstall. IMPORTANT: Back up your Linux files before running these commands as this deletes all of them.
lxrun /uninstall /full /y
lxrun /install /y
Once the install is complete you can open a Windows command prompt and update WSL with:
lxrun /update
Once you've re-installed and updated, you can sudo apt-get update and sudo apt-get upgrade from the within bash shell.
This worked on one of my computers, but not the other. Not sure why. If it does not work, you can get the latest WSL distro by joining the Insiders Build; instructions here.
Useful Links
Windows help on lxrun.
Instructions on WSL installation.
I have ubuntu 16.10 version installed. I uninstalled gtk using sudo apt-get remove --purge gtk2.0. After rebooting, my whole gui is not loading, no login screen also. I can access other terminals using Ctrl+Alt+f1. How can i get my gui interface back?. Anyhelp is appreciated.thanks.
You might probably want to try this:
sudo apt-get install ubuntu-desktop^
This should install all the packages of standard Ubuntu Desktop that you've removed.
Alternatively, you can check the logs of apt /var/log/apt/history.log and install back the packages that got removed.
Often I install softwares/packages using apt-get.
If the installation is stopped or interrupted anyhow,
then how to find and remove the partially installed files? Besides if I install the same package later, will the apt-get installation process create duplicate files?
Try this:
sudo apt-get -f install
And then:
update, upgrade, reinstall, etc...