Ubuntu Installation :: Allows To Install/remove Software And To Perform Other Package Management Related Tasks?
Jul 14, 2011
I added a code into terminal and restarted, then I tried to install Java and this came up.'There seems to be a programming error in aptdaemon. This is the software that allows you to install/remove software and to perform other package management related tasks.'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 961, in simulate
Could not download all repository indexes.The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.and therefore i am unable to perform many tasks.this is a clean install of 9.10 on a brand new laptop
VirtualBox is awesome tool for experiment and learning Linux.On the Linux guest OS, I installed standard system without Xorg.i expected it remove all the packages that come along with gnome-terminal previously.Only gnome-terminal was removed, 750kB free space. Now the system have 149MB packages as waste data IMHO.It doesn't look right to me.
I have a folder named "logs" which contains log files. I would like to have a bash script or a cron job or something like this which will check the folder continuousy and perform some tasks (for example echo "New file is created") every time a new file with pattern like "Screen.log.***" is created in the folder "logs" Is it possible in Linux?
I'm trying to write a bash script with a for loop that will perform two tasks a number of times depending on the number the user enters at the start. Here is what I got so far. It works fine the first time but then it just exits with no error msgs. The problem is in the way I have written the loop command. I have searched the web for examples to find out what I'm doing wrong with no luck.
How do we perform offline patch management with Debian? This isn't a question about which tools to use on Debian to load the patch once it is on a CD and transferred to said offline computer via sneaker net. More, how do I keep said offline (or strictly firewalled) computer in synch?
Pardon me while I make a comparison to Solaris. I am in no way stating Solaris is better. It just happens to be my baseline of experience.In Solaris, I can download Cluster Patch Updates (CPU). So if I build a Solaris box with a CD that is a year or more old, I can download the latest CPU and get the box patched up to date, and from that point on sneaker-net patches as they appear.
I thought these were the same password?In-fact, they WERE the same password on the set-up I currently have.But now, weirdly, I can log in fine but I the exact same password is not using in order to perform admin tasks.I've tried a recovery mode, console, and then "password (username)" in order to reset the password.This does reset the password I need to use to log in, but the password still does not work for performing admin tasks
I often get responses from people who first say: "Are you sure? You want your network to be exposed to the outside world?" I am not experimenting on a Production Server of NASA or any Security Concern Department. Friends, there is no harm in experimenting on your personal computer or on a test computer which is isolated from the production environment. Look at hackers! What do they do? If they don't know how security is breached then how would they come up with security measures?
If my question reads... "How to let any user perform Administrative Tasks on a Linux System irrespective of his/her privileges on that particular system?" then I would not get the right answers in the first place. They will say... "You are letting everyone destroy your system... are you sure you want to do that?" My question is: Why should we restrict ourselves from experimenting even if it sounds weird to other people?
I give you an example where it is desirable to let an unprivileged user perform certain tasks. You want to know if there are any employees in your office who are storing videos in their home directory and filling up the disk space to a great amount. You have a department called "Command Center or Data Center Operations or Help Desk" call it whatever you would, whose work is to monitor such activities, and you create an account "monitor" for them to monitor such activities but they are not able to do them:
I am new to Debian but a long term user of various other Linux distros, most commonly Ubuntu at home and Xubuntu for my old work computer. I tried Debian 6 LXDE the other day on the older PC, from a live LXF disc. It picked up all my hardware automatically and was so stable (more so than the Xubuntu LXDE distro on the HD) that I decided to install it.
Now that it is on the HD it is still very stable, but I am struggling with package management and installing "stuff".
I am fairly comfortable with the CLI and have managed to get myself into the sudoers group, install grub and add the old Xubuntu to grub manually (I was not impressed that Debian didn't pick up the other two distros on the machine, even after a grub install and update grub and all the other tricks I could think of).
Anyway, back to package mngt:
First, why is there no pdf viewer/reader by default? How do you start building if you can't read the many helpful articles in pdf?
But more annoying, when I try to install pdfedit, epdfview, evince, okular, pdf-viewer, osso-pdf-viewer or kpdf (at least one of which MUST work in Debian LXDE) using "apt-get install" or "aptitude install", as root or as sudo in the Terminal, why do I get "Couldn't find any package whose name or description matched" "Couldn't find package" or "Unable to locate package"? I can't even install synaptic to help!
Then I found that my sources.lst only listed the install CD as a repository (how stupid is that?) so added some repositories to it (eg deb http://http.us.debian.org/debian stable main contrib non-free) and did a sudo apt-get update. And apt STILL can't find anything.
And what is that Debian Installer in the >Menu>System Tools? It asks for a password then nothing opens that I can detect. Is there a GUI for package mngt?
Pretty much self explanatory:This morning I went into the update manager, and found a bunch of RPM package-management stuff such as rpm, alien, compiling tools, etc. What is up with this?I suspect they are setting the scenery for some big press release saying they now support RPM packages in Ubuntu too. Any ideas? (or better, inside info from someone who knows)
I installed Mono 2.4 and I am struggling myself to remove all folders related to mono.. I didn't install from Synaptic so it's not just 'apt-get autoremove mono', I used the tarball.. how to remove all files from the installation?
Many software available for patch managment like OCSinventry, cfengine,puppet,redhat satellite server for linux. I want to perform patch management for my Linux server (centOS, debian) My question is how to find out which patches available for Linux and which patches i need to apply. Is there any way to find out require patches?
I'm trying to figure out how to perform a minimal install to a USB attached hard drive. A full install works just fine, when I start the install from the LiveCD desktop, all the USB drives are visible and can be installed to. In the minimal install, the requisite kernel modules for USB storage don't seem to be loaded, therefore, my USB hard drive is not visible and cannot be mounted, partitioned, or installed to.
The reason behind this is I'm trying to build an XBMC install on a USB hard drive and want only the minimum backend OS that's necessary as some of the Ubuntu desktop software causes issues with some of the XBMC software. I've posted on the XBMC boards about this, but my questions have gone completely unanswered,
Is there any way to quickly remove multiple related packages from the command line instead of having to enter the name of every single one? I am trying to remove OpenOffice from my server running 10.04. It would work nicely if I could get a list of packages without line breaks, such as the list displayed by aptitude when upgrading. That way I could just paste the package list into the terminal. However, "aptitude search 'openoffice'" dumps a long list on many lines that cannot be used that way.
I would like to create an unattended install ubuntu 10.10 cd. I have followed the ubuntu [URL].. on creating the preseed file, however, I can't find any useful tutorial on how to set the kernel parameters to perform an unattended install using my preseed file.
I am using ubuntu 10.10. Recently I install a package named astah-community_6.3_all.deb. But It took very long time to complete installation. No error message display.So I canceled it. After that,I cann't install or remove any software.I show the following error.
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. So I try command 'dpkg --configure -a'. After doing so, when I install or remove any package it show the following error.
E: The package astah-community needs to be reinstalled, but I can't find an archive for it. If I tried to remove it, it show the following error
installArchives() failed: dpkg: error processing astah-community (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
i installed a package with dpkg --install and told it to ignore an unmet dependency because the package it depended on could not be installed with apt-get (it was a perl module) and i have manually installed the perl module, it works... however every time i do "apt-get upgrade" or anything like that it wants to remove the package i forced to install because it still thinks there are unmet dependencies, is there a way to either tell it to ignore that the package has unmet dependencies (i mean ignore that always, not something i will have to add every time i use aptitude) or is there a way to convince it that the package it thinks is missing (the unmet dependency) is actually met.
I installed ubuntu 10.4 on a lenovo T500 yesterday.
Today I am almost sure to have a problem with the fglrx package.
Today I installed the graphics card accelleration driver - I think it is the fglrx, but I am not shure, because I used the gnome fancy gimmick offering this driver. Now the computer starts neither in normal mode nor in recovery mode. In the latter it displays very fast about two screens of the usual lines and changes then something with the display. Trying to use boot=/bin/bash as an additional boot parameter didn't work either. I even tried typing blind a login and something like "apt-get remove fglrx <return><return>".
Booting from CD works.
Here my questions: When I have booted from CD, can I see the synaptic history to verify that it actually is the package named above? When I have booted from CD, can I remove packages from the installed version?
i wanted to install zsnes emulator on natty 64, but it turns out there is no such package. so i tried zsnes_1.510-2.2ubuntu3_i386 using "force architecture" command but it failed due to dependencies problem. later i found amd64 version of zsnes deb package. now when i try to install it it says "it's not co-installable with zsnes:i386 1.510-2.2ubuntu3 (Multi-Arch: no) which is currently installed". i cannot find zsnes:i386 package in synaptic, removing or purging the package doesn't work (Virtual packages like 'zsnes' can't be removed), cleaning cache with apt-get clean doesn't change anything.
I faced on these days a very nasty problem, during the upgrading of my system... something bad happened and I can not remove, purge, install, reinstall the package flashplugin-nonfree no matter what tries I did till now.
root@intra-micro:/home/mikek# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done
I would like to tell apt, "hey, take packageA out of that list, cause I really need it, and I do not want to reinstall it out of fear it may mess up the configuration of that very same package".Anyone know what program and option I would use to accomplish such a task?(couldn't find anything interesting under the `apt-get` command.)
Ubuntu 10.04, update manager: the package "libmyth-perl" shows up, but is greyed. I have purged all myth-tv (assuming this package belongs there) from my system, but I am unable to remove this package from the update manager.
I faced on these days a very nasty problem, during the upgrading of my system... something bad happened and I can not remove, purge, install, reinstall the package flashplugin-nonfree no matter what tries I did till now. To see my tries please read bellow.Do any of you have any advanced advice how can solve this BIG problem that occurs to me?
Since the Fedoraplus site is down, I alternatively downloaded the FC14 version in hopes that it would work. Instead, I now receive the following error any time I try to remove or install a package via yum: Code: [Errno 22] invalid mode ('w') or filename: '//var/lib/yum/rpmdb-indexes/conflicts.tmp' I'm pretty sure the issue here is a typo in a file (the extra "/" in the path to "conflicts.tmp").