I want to install Sys::RunAlone. I'm not able to install cpanm due to other independent reason, with which I was able to give the downloaded Sys::RunAlone compressed file directly and it installed. In case of cpan I've seen readme https://www.cpan.org/modules/by-module/CPAN/CPAN-2.25.readme where it shows how to install in a prompt, so I'm assuming there should be some way I should be able to install the perl module by directly giving the .tar.gz file to the cpan command as argument, instead of entering the prompt, so that I can directly call it from my shell script. If that is not possible there may be a way to enter prompt and give arguments (the downloaded perl module in the form of .tar.gz file) through the shell script itself.
user41965's questions
We can find the source of the package with apt show <package name>
, but how do we find the list of all binaries or packages a source provides?
For example apt show will give following information and more
$ apt show linux-libc-dev
Package: linux-libc-dev
Version: 4.4.0-96.119
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Here the source is "linux". Similarly, I remember using a command to get all the packages from the source "linux", which gives all the binaries and packages.
I've created a user, but I'm not able to access my log file in /var/log. It says permission denied. I don't want to use sudo, as I want to access it from scripts too. I was able to achieve this by adding the user in /etc/sudoers file and adding NOPASSWD so that it doesn't ask for password. But I'm assuming it'll elevate the privileges of the new user to that of root, which I don't want. I'm not able to change the user of the log file too, probably since syslog is not owned by root, but by syslog user and it doesn't have enough privileges to do that.
This looks like a simple problem, but I don't know why I'm not able to find the solution. Maybe because I don't know how to express the question.
It feels like there's a screen extension beyond my monitor and sometimes some windows are going into that space and I'm not able to access those windows unless I restart my computer. I can see that part of the screen when I take screenshot(though I didn't check when the window disappeared, I don't want that to happen again or wait for it to happen).
I've added the picture, can anyone tell me how to disable or remove this extra screen. I've used unity in 16.04 until recently...
I've tried installing nemo-seahorse extension for nemo file manager after installing it as given in the following sites
http://www.webupd8.org/2016/11/nemo-320-with-unity-patches-and-without.html http://www.webupd8.org/2013/10/install-nemo-with-unity-patches-and.html http://www.noobslab.com/2017/01/latest-nemo-file-manager-with.html
but every time I tried to install nemo-seahorse using the command sudo apt-get install nemo-seahorse
I would get an error something like:
dpkg: error processing archive /var/cache/apt/archives/nemo-seahorse_3.2.0-1~webupd8~xenial0_amd64.deb (--unpack):
trying to overwrite '/usr/bin/seahorse-tool', which is also in package seahorse-nautilus 3.11.92-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nemo-seahorse_3.2.0-1~webupd8~xenial0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
or
dpkg: error processing archive /var/cache/apt/archives/nemo-seahorse_3.2.0-b~xenial~NoobsLab.com_amd64.deb (--unpack):
trying to overwrite '/usr/bin/seahorse-tool', which is also in package seahorse-nautilus 3.11.92-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nemo-seahorse_3.2.0-b~xenial~NoobsLab.com_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So I've removed the packages and PPA each time and now installed the nemo using sudo apt-get install nemo the default one available in ubuntu and tried to build the extensions as given in this site: How to install nemo extensions? But it's still not working I got this in the terminal at the end:
gpg: skipped "Clement Lefebvre <[email protected]>": No secret key
gpg: dpkg-sign.2qaQaPF8/nemo-seahorse_3.2.0.dsc: clearsign failed: No secret key
dpkg-buildpackage: error: failed to sign .dsc and .changes file
so the extension is not installed? How can I install it? And in the list of extensions in the nemo file manager, I can only find nemo-fileroller selected and can't see anymore extensions. But I think I'll not get updates for the extension if I install through building. Sorry if I'm doing some very basic mistake and thank you for taking time.
I can't install the package. I tried it with the command 'sudo apt-get install python-pip python-dev build-essential' and I got the output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
build-essential set to manually installed.
python-dev is already the newest version (2.7.11-1).
python-dev set to manually installed.
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: python-pip : Depends: ca-certificates but it is not going to be installed Depends: python-pip-whl (= 8.1.1-2ubuntu0.4) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
I also tried to install with aptitude, then I got
The following NEW packages will be installed: ca-certificates{a} libpython-all-dev{a} openssl{ab} python-all{a} python-all-dev{a} python-pip python-pip-whl{a} python-wheel{a} 0 packages upgraded, 8 newly installed, 0 to remove and 3 not upgraded. Need to get 1,988 kB of archives. After unpacking 3,537 kB will be used. The following packages have unmet dependencies: openssl : Depends: libssl1.0.0 (>= 1.0.2g) but 1.0.2d-1 is installed. The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) ca-certificates [Not Installed]
2) openssl [Not Installed]
3) python-pip [Not Installed]
4) python-pip-whl [Not Installed]
Accept this solution? [Y/n/q/?]
I typed Y, then I got
No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used.
I referred the following links if it would work but didn't work
Ubuntu 14.04, problem when install gstreamer1.0-libav, unmet dependencies
How do I resolve unmet dependencies after adding a PPA?
Ubuntu unable to install any packages, held broken packages
Sorry I don't know what I did but looks like I really messed up. But I was able to directly install packages such as numpy, etc directly via apt-get
I can see the web pages I created in /var/www/html/
by typing localhost
in URL bar.
A few months ago I could even access those pages by typing my ip address from other computers, but now I am getting server timed out when I type my ip address from my mobile phone; my friends are also not able to connect by typing my ip address.
Recently I installed webmin from a tutorial in unixmen,
I thought maybe it changed read and execute permissions. so I executed the command chmod -R 775
,
but it didn't change anything (still not able to connect from other computers).
Everything is working fine from host computer.
The output of ifconfig
is:
eth0 Link encap:Ethernet HWaddr 08:9e:01:00:10:ad
inet addr:183.83.83.29 Bcast:183.83.127.255 Mask:255.255.192.0
inet6 addr: fe80::a9e:1ff:fe00:10ad/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:443584 errors:0 dropped:0 overruns:0 frame:0
TX packets:378897 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:470991396 (470.9 MB) TX bytes:96527317 (96.5 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:154813 errors:0 dropped:0 overruns:0 frame:0
TX packets:154813 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20729684 (20.7 MB) TX bytes:20729684 (20.7 MB)
pan1 Link encap:Ethernet HWaddr 42:dd:4f:ed:a2:f2
inet addr:10.141.41.1 Bcast:10.141.41.255 Mask:255.255.255.0
inet6 addr: fe80::40dd:4fff:feed:a2f2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:174 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:32909 (32.9 KB)