Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I Got this error when i tried this command..........
hanif@hanif-desktop:~$ sudo apt-get install samba
Password:
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Possibly you are getting error because of it. The files that package manager uses directly locked by one instance if you are running second instance you will get this kind of errors.
i have completed all the 197 updates and restarted my Ubuntu box.
please help me in setting LAN with my Win Domain Network
Linux IP is eth0 192.168.2.100 255.255.255.0
XP IP is 192.168.2.101 255.255.255.0
i have not downloaded anything yet as mentioned by you but i will do it right now please help me in this.
i dont know commands for linux
Also i have modified my smb.conf file in the /etc/samba folder, which i saw from these help forums
i have 1 win2000 adv server acting as ADS server and its IP is 192.168.2.254 255.255.255.0
from 2000server i get request timed out when i ping to ubuntu
My win network is fine, just i want to add this ubuntu to my windows domain network and use it as normal client.
how can i do this please let me know
usually there two eth adaptors for your box one of them is LO(Loobback) the other one is your physical ethernet adaptor if your LO is not running or not showing 127.0.0.1 you cannot send ICMP packets (ping command) to destination first pls check the adaptors by typing ifconfig -a within your box console. if your loopback adaptor is visible than you must check your default gateway from /etc/network/interfaces .
hanif@hanif-desktop:~$ sudo aptitude install samba samba-common
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up samba (3.0.22-1ubuntu3.6) ...
update-rc.d: warning: /etc/rc2.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba
update-rc.d: warning: /etc/rc3.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg: error processing samba (--configure):
subprocess post-installation script returned error exit status 102
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up samba (3.0.22-1ubuntu3.6) ...
update-rc.d: warning: /etc/rc2.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba
update-rc.d: warning: /etc/rc3.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg: error processing samba (--configure):
subprocess post-installation script returned error exit status 102
Errors were encountered while processing:
samba
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.