General :: Aptitude Displaying Directories - Not Showing Actions
Aug 19, 2010Code:
$ aptitude s
sbin/ selinux/ server/ srv/ sys/
This is what happens when I hit TAB. It always showed "show" and "search" actions before... Why directories now?
Code:
$ aptitude s
sbin/ selinux/ server/ srv/ sys/
This is what happens when I hit TAB. It always showed "show" and "search" actions before... Why directories now?
In accordance with aptitude doc:
Code:
As a special case, install with no arguments will act on any stored/pending actions..."
OK, let's try:
[Code].....
I have a png file which I put into a user's directory: /~user/file.png This displays OK. When placed in the user's images directory: /~user/images/file.png the file does not display. If I put the file in the global images directory: /images/file.png the file displays OK. Finally if I change the format of the file to a jpg and save it in the user's images directory: /~user/images/file.jpg the file displays OK.
When I look at the Apache access_log and error_log files, there is not even an entry if the png image file is accessed from the user's images directory.
I have a server that just recently started doing something that I have never seen before. I am running 10.04 and connecting over ssh.
Code:
root@www:~# aptitude full-upgrade
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree
[Code]....
I am trying to upgrade an amd64 lenny system to squeeze.I've got a 2.6.32 kernel running, done aptitude update and aptitude install aptitude.When I try "aptitude safe-upgrade", it sits forever resolving dependencies.it seems to search with the resolver counting up more and more open/conflict/ whatever.I stopped it once it got over 100,000)Is it possible to get aptitude to do a safe-upgrade, perhaps using a command line option?
View 2 Replies View RelatedI have just recently installed Fedora 14 Standard Edition. Upon after mounting another parition, I attpempt to find the new partition files in the directory I created for the mount point, but it is not showing. I know the mounted parition is there becuase upon "ls -l /iso", all the files show up.
I had previously tried out Fedora 14, XFE, and this problem did not occur. I also previously installed this same Standard Edition, and this problem did not occur. This is from the exact same download, however, the only difference is I installed Grub into a different partition. But now I am unable to find my new folders in Gnome.
I have a VERY simple setup, or so I think. 1 VirtualHost that it's only purpose is to list some files and directories, now under the DocuemntRoot there is 1 named clients. Insdide clients there are 4 folders, you guessed it, one for each client. I setup simple .htaccess for each one of these folders so each one has it's own auth.
Now on the vHost I have this:
Code:
<VirtualHost *:443>
ServerName vpn.domain.com
ServerAlias vpn.domain.lan
ServerAlias vpn
DocumentRoot /var/www/vpn
#ErrorLog /var/log/apache2/http-vpn.log
#LogLevel error .....
Now the weird part, with the AllowOverride AuthConfig those 4 directories for each client are not being displayed, if I set AllowOverride all, then the directories inside clients are not listed, if I set it to none.... then the server lists them but ignores the .htaccess.
i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.
View 14 Replies View RelatedI want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.
I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.
I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?
I've been trying out Nautilus-actions (Gnome 2.28.4), but have been unable to import most config files from [url].
When I attempt to import an action, it complains:
Quote:
Can't parse file 'convert_flv_to_avi.schemas' as GConf schema description file!
This XML file is not a valid Nautilus-actions config file (missing keys: )
So far, the only one that has worked for me is "Move to custom folder" [url].
I log on to a lot of different servers at work to do some tasks and install new software. However, sometimes I find myself wanting to know what has been done to the computer recently. This usually involves me going through log files and just observing the filesystem for new folders/files (usually in /tmp).
Is there some kind of a master log file which logs all (or nearly all) "activity" on the computer. Even getting a list of most recent command line 'history' from different users would be helpful to see what they did in the last couple hours. I only need to know the big things:
new software installs
important files being changed
new users/groups being made
Am I asking for too much from my system? If this doesn't exist I might just develop a tool to do it. In that case, which files should I be looking at to extract the information I want?
I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files
like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!
I'm using gnome and I'm trying to add custom actions to the right-click on desktop menu. I've read that this can be done using nautilus-actions, but all the references I've found explain it for older versions of nautilus-actions.
If I create an action (a firefox launcher, for example) and don't add any special conditions for it to show up, it shows when I right-click anything in nautilus, but not on the desktop.
I know it's possible since nautilus-open-terminal shows up on the desktop menu.
I have a particular script xxxx in folder yyyy. How can i start/execute xxxx whenever i open or cd into yyyy.
View 3 Replies View RelatedWhen I try to connect a projector to my laptop (already running) and hit the fn+f7 (the designated button for switching screen), nothing happens. I see "no source found" on projector screen and my laptop screen works perfectly. Now if I restart the laptop with the projector connected, I see all the intial booting messages on the projector screen (not on my laptop), then the gnome login screen appears on both the projector screen and laptop (when the login screen appears on laptop it looks like it has lower resolution than my usual laptop resolution). But immediately after I log in, my laptop screen goes blank, and projector screen becomes the only active screen.
If I restart without the projector, again all normal operation on laptop screen is restored.
I feel like I am missing some very silly options. Any help is appreciated.
Here is the output of xrandr when the laptop is connected:
Code:
What application is more "low level" - apt or aptitude?
View 14 Replies View RelatedI installed a Amsynth from Lucid in Karmic using:
dpkg --force-depends-version -i amsynth_1.2.2-1_i386.deb
The reason for installing the Lucid version is because Karmic version is 3 years old and crashes on my machine. The Lucid Amsynth package depends on newer versions of libatk1 and libjack0 than Karmic has, but I thought I would take a risk, and turns out Amsynth runs fine. However aptitude tries to uninstall Amsynth every time I do an upgrade. I think I've managed to put it on hold but now aptitude aborts. How can I tell aptitude to ignore the broken package and carry on.
I have vps box with debian. I have two ip addresses, but first (default) is currently unavailable. In that case there is many problem. Fortunately wget has --bind-address option so I can download. My question is how can i configure apt-get, aptitude to use specific address?
View 1 Replies View RelatedGNU/linux kernel 2.6, slackware 12.0
Can ls display the whole path of a file? Suppose I have /media/cdrom1/*. So I want the output of ls to be
/media/cdrom1/file1
/media/cdrom2/file2
..................
/media/cdrom2/fileN
I am working on ns2 for my new project. I have successfully installed ns2 on fedora 8 but whenever I try to run in wireless example it does not display the scenario in nam window. It works with wired but not with wireless. It also create nam trace file but does not show anything. I also tried to run Marc Greis tutorial wireless ex but same problem continue.
View 7 Replies View RelatedMy Ubuntu system is occasionally becoming very sluggish. I'm running many things simultaneously and it's very difficult to tell which program is the culprit.
I suspect that the sluggishness is due to disk activity since the CPU usage is consistently under 50% on each of the 4 cores of the CPU, and over 30% of the 6GB of RAM are free.
Is there a tool that can show me in real time the number of disk IO operations per second and the amount of data read/written per second? Can all this info be broken down and displayed per process?
I uninstalled mplayer w/ apt-get (and with it mplayerthumbs + mozilla-mplayer) for the purpose of running a 'make install' on an SVN version I compiled - that worked out fine. Now I want to reinstate mplayerthumbs + mozilla-mplayer, but of course in doing so, mplayer is marked as a dep. How then do I mark mplayer to be ignored using the aforementioned package managers? Additionally, why isn't dpkg referencing my sources list?
Code:
[stuart8.5@mepis1 ~]$ sudo dpkg -i --ignore-depends=mplayer install mplayerthumbs mozilla-mplayer
[sudo] password for stuart8.5:
dpkg: error processing install (--install):
cannot access archive: No such file or directory
[code]....
trying to get wine working was reading the tutorial-
"Complete Guide to Using Wine from the Command Line (Ubuntu)" first thing it said to do for ubuntu user's was this-
"Before I continue with my rant about gaming on Linux I would like to point out right now that the very first thing you should do when you install your ubuntu set up is to run the following:
Code:
user@ubuntu$ sudo aptitude update
user@ubuntu$ sudo aptitude install ubuntu-restricted-extras
but when i try and run in the terminal i get "command not found".
using ubuntu 11.4 natty kernel linux 2.6.38-8 generic gnome 2.32.1
I have a server laptop sitting around at home which is a pretty bland server, on which I generally leave the lid open and there is a login prompt always displayed.
However, I'd love to be able to display useful information on /dev/tty1 so whilst the server is just sitting there, rather than displaying a login prompt on the monitor, it could now display, for example, the current time and weather forecast for the day. Or something along those lines.
I compiled the buildroot for zImage and rootfs.jffs2 for SMDK6410. Used the linux kernel 2.6.35 and busybox 1.17. And deployed these two images using DNW. The kernel and rootfs loaded successfully and able to do execute linux commands from DNW but not from LCD screen. I am new to the linux development and want to see a sample framebuffer / desktop application on the screen.
View 2 Replies View RelatedAfter booting my PC which is running CentOS, it did not display the desktop. It just displayed a terminal window and a firefox browser all on a black screen!
View 5 Replies View RelatedHow do I pass a list of packages to aptitude so that I can resolve the conflicts interactively?
View 1 Replies View RelatedI do have a problem on updating linux ubuntu 10 I'll show you the error and my sources.list.. Error in authenticating some packages: It was not possible to authenticate some packages. This may be a transient network problem. You may want to try again later. See below for a list of unauthenticated packages.
acpi-fakekey
acpi-support
acpi-support-base
acpid
[code]....
Does anyone know how to stop the du command from displaying the directory name?
View 1 Replies View Relatedi have installed fedora14 on my system, while running the php programs errors are not displaying on the browser. display the error while running on the browser at localhost.
View 2 Replies View Related