supervisor install is failing with preseed for ubuntu-12.04 [closed] - supervisord

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am trying to setup supervisor via preseed for ubuntu-12.04.
The installation fails with an error in software installation step. I figured that I need to specify a couple of dependencies and I have all three relevant .deb packages under iso-path/pool/extras/*deb . The path and method is proven with other simpler .deb packages.
Here is the snippet from my preseed file:
...
d-i pkgsel/include string python-medusa-doc
d-i pkgsel/include string python-meld3
d-i pkgsel/include string supervisor
...
Has anyone else tried installing supervisor this way ? what am I missing ?

If you included all the .deb packages in your iso, you can try including this at the end of your file. This is assuming you will delay the software installation until the very end:
d-i preseed/late_command string \
in-target dpkg -i -R /pathtodir/dot-deb-files; \
in-target apt-get install -y openssh-server; \
in-target apt-get install -y #2_SOFTWARE_NAME; \
in-target apt-get install -y #3_SOFTWARE_NAME;
Copied syntax from this thread: http://ubuntuforums.org/showthread.php?t=1977570

Related

mytop on big sur stopped working after os update [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
After updating to macos big sur 11.3 (20E232) I can no longer launch mytop from the terminal.
When launching mytop - which is installed via brew - I get this error:
> mytop
ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xc500080, needed 0xc400080)
> which mytop
/usr/local/bin/mytop
> ls -la /usr/local/bin/mytop
lrwxr-xr-x 1 username admin 33 9 Dec 10:24 /usr/local/bin/mytop -> ../Cellar/mytop/1.9.1_8/bin/mytop
So far to attempt to fix I have run:
brew update
xcode-select --install (wait 5 hours)
brew upgrade
brew remove mytop; brew install mytop
Still haven't resolved it.
I imagine this would a number of binaries. Has anyone seen similar and/or have a fix ?
Solution : brew reinstall -s mytop
Details from github conversation
This was caused by Big Sur 11.3 switching the default perl to 5.30. It used to be 5.28, and that's the version that mytop expects to find at /usr/bin/perl. See Homebrew/brew#10127.
In the meantime, try brew reinstall -s mytop to rebuild mytop against the new version of system perl.

Unable to mount usb hard disk in rhel 7.1 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
while am installing ntfs-3g rpm it shows
[root#localhost 64bit]# rpm -Uvh ntfs-3g-2011.4.12-5.el6.x86_64.rpm
warning: ntfs-3g-2011.4.12-5.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ################################# [100%]
file /usr/bin/ntfs-3g conflicts between attempted installs of ntfs-3g-2:2011.4.12-5.el6.x86_64 and ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/bin/ntfsmount conflicts between attempted installs of
ntfs-3g-2:2011.4.12-5.el6.x86_64 and ntfs-3g-2:2011.4.12-5.el6.x86_64
while am double clicking on my hard disk it shows
Unable to access “Expansion Drive” Error mounting /dev/sdb1 at /run/media/root/Expansion Drive: Command-line `mount -t "ntfs"-o"uhelper=udisks2,nodev,nosuid,uid=0,gid=0,dmask=0077,fmask=0177" "/dev/sdb1" "/run/media/root/Expansion Drive"' exited with non-zero exit status 32: mount: unknown filesystem type 'ntfs'
Install epel repository from fedora
Download it from http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
# rpm -ivh epel-release-7-5.noarch.rpm
# yum install ntfs-3g ntfsprogs ntfsprogs-gnomevfs
Done

Properly Uninstall MongoDB via Command Line [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I've installed MongoDB version i686-2.2.3 from source, in a Ubuntu 12.10 box. Now I want to remove it.
How can I do it properly?
Best wishes,
If you installed from source you would not have compiled it but instead just extracted the tar it came in and ran it.
The very first thing you need to do is figure out what additional stuff you put on, i.e.: a init.d script.
Once you remove all the additional threads you have created you can remove the directory that houses the mongo binary, normally a folder called mongo on most systems and then you need to delete your data directory, normally /data/db/ under the source version.
Of course, this assumes you installed from source and not a package, if you installed from a package you can do:
apt-get remove --purge mongodb
Edit
Alternatively if you are using autoremove:
apt-get autoremove --purge mongodb

What's the difference between rpm and yum? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Is there any difference between rpm and yum? I know the recent system prefer yum, but want to know if there is need for rpm also.
to expand on the Udo's answer, there is the program, "rpm", which manipulates specifically the packages it is asked to manipulate, and there is "yum", which is a more intelligent management system that can find dependencies and download .rpm files even if they're not in the system.
with the "rpm" command, you need to know the exact location of the .rpm package, but with "yum", you just need to know the name of it, and as long as it's available through your repositories list, it will be installed along with its dependencies
Yum is a package manager and rpms are the actual packages.
With yum you can add or remove software. The software itself comes within a rpm.
The package manager allows you to install the software from hosted repositories and it will usually install dependencies as well.

Upgrading Perl in Ubuntu [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Since May 14th the current version of Perl is 5.14. In Ubuntu repository the current version of Perl is 5.10 which is no longer supported. So Im trying to manually upgrading Perl.
What is the recommended way to upgrade perl 5.10 to perl 5.14 in Ubuntu?
I found the perlbrew tool, but it seems to install just in the users home.
Perlbrew docs says that you can change your $HOME dir to something else:
The directory ~/perl5/perlbrew will contain all install perl
executables, libraries, documentations, lib, site_libs. If you need to
install perlbrew, and the perls it brews, into somewhere else because,
say, your HOME has limited quota, you can do that by setting a
PERLBREW_ROOT environment variable before running the installer:
export PERLBREW_ROOT=/opt/perlbrew curl -L
http://xrl.us/perlbrewinstall | bash
download, configure, compile ....