Problems installing wheezy
Hello everyone, this is my first post here. I am facing lot of problems in installing wheezy. 1) I downloaded the dvd-1 image of amd-64 precisely debian-7.1.0-amd64-DVD-1 for installing wheezy. I checked the md5sum of my downloaded file and it was the same as of the original. So the image was verified. Being a hybrid image, I just ran the following commands to make a bootable usb stick cp debian-7.1.0-amd64-DVD-1.iso /dev/sdc/ sync As expected the files were copied to the usb. But when I booted my machine, it said isolinux missing or something, ie the bootable stick failed. I then used win32diskimager and it failed too. After that I used unetbootin which made the usb bootable and the installation started too, but the installation failed saying the CD-ROM does not seem to contain a valid release file. As a last resort trying to install through usb, I used universal usb installer, which worked. I made all the partition, set all the passwords and did other settings, but this installation failed too, this time on base installation step saying that it could not download the following packages. liblzma (and two more) The only reason of mine downloading the dvd image of around 4 gb was to avoid using internet as I don't have access to Internet at home. I don't know whats the problem, I have been at it since two days and still unable to install debian. I will be getting a blank dvd and will try to burn the image and install it (tomorrow as its 4 am here) Some guys at #debian said that usb stick never works for installing debian . 2) I was an ubuntu user for the past 4 years and have decided to move on (thanks to the illogical changes to their vision) and made up my mind to install debian. As I was very new to installing linux 4 years back, I had managed to create just one big partition and mounted it as /. So this time before updating to debian, I moved my /home partition to an altogether new partition and wanted to mount my /home to this new partition while installing debian. Now as I was unable to install debian (see #1) I installed mint, and mounted that new partition as /home. Now that /home contained a .config folder which is giving many errors at startup on mint, Will it happen in debian? Should I really backup my /home partition. While on ubuntu I had compiled many software and libraries in my /home folder itself. Will they all work again in debian (or mint) or do I need to install them again? I had also backed up my /home to an external hardisk so I can just copy paste real important stuff into my new home partition on debian (or mint) later. (I was a newbie and didn't new that I should have moved those source files to a partition like /usr/ or /opt before compiling them) Thats it, those are the two problems that I am facing as of yet. I do not want to give up so easily, and I really want to be a part of this community. Please help me. (if your have reached here and are still reading Thanks (for not getting annoyed at such a big post) -- Regards, Anubhav Yadav
Re: Problems installing wheezy
Thanks a lot greg. Exactly what I wanted to hear. So i have got a backup of my home in an extern hard disk. I will only copy documents and other source files. However the installation problem still holds. On Aug 11, 2013 11:31 AM, Gregory Nowak g...@gregn.net wrote: On Sun, Aug 11, 2013 at 04:35:09AM +, Anubhav Yadav wrote: Hello everyone, this is my first post here. I am facing lot of problems in installing wheezy. 1) I downloaded the dvd-1 image of amd-64 precisely debian-7.1.0-amd64-DVD-1 for installing wheezy. I checked the md5sum of my downloaded file and it was the same as of the original. So the image was verified. Being a hybrid image, I just ran the following commands to make a bootable usb stick cp debian-7.1.0-amd64-DVD-1.iso /dev/sdc/ sync As expected the files were copied to the usb. But when I booted my machine, it said isolinux missing or something, ie the bootable stick failed. I then used win32diskimager and it failed too. After that I used unetbootin which made the usb bootable and the installation started too, but the installation failed saying the CD-ROM does not seem to contain a valid release file. As a last resort trying to install through usb, I used universal usb installer, which worked. I made all the partition, set all the passwords and did other settings, but this installation failed too, this time on base installation step saying that it could not download the following packages. liblzma (and two more) The only reason of mine downloading the dvd image of around 4 gb was to avoid using internet as I don't have access to Internet at home. I don't know whats the problem, I have been at it since two days and still unable to install debian. I will be getting a blank dvd and will try to burn the image and install it (tomorrow as its 4 am here) Some guys at #debian said that usb stick never works for installing debian . 2) I was an ubuntu user for the past 4 years and have decided to move on (thanks to the illogical changes to their vision) and made up my mind to install debian. As I was very new to installing linux 4 years back, I had managed to create just one big partition and mounted it as /. So this time before updating to debian, I moved my /home partition to an altogether new partition and wanted to mount my /home to this new partition while installing debian. Now as I was unable to install debian (see #1) I installed mint, and mounted that new partition as /home. Now that /home contained a .config folder which is giving many errors at startup on mint, Will it happen in debian? Should I really backup my /home partition. While on ubuntu I had compiled many software and libraries in my /home folder itself. Will they all work again in debian (or mint) or do I need to install them again? I had also backed up my /home to an external hardisk so I can just copy paste real important stuff into my new home partition on debian (or mint) later. (I was a newbie and didn't new that I should have moved those source files to a partition like /usr/ or /opt before compiling them) Thats it, those are the two problems that I am facing as of yet. I do not want to give up so easily, and I really want to be a part of this community. Please help me. (if your have reached here and are still reading Thanks (for not getting annoyed at such a big post) -- Regards, Anubhav Yadav Hello Anubhav. I am new here myself, though a debian user since late 2005. I can't help with your dvd/usb install issue. Hopefully someone else will be able to. As far as your home partition, I personally tend not to just take an old home directory, and copy it to home on the new machine. I call the old home directory old_home for example, and copy it under the new home directory. Then I go through old_home, and move from there whatever I want to keep to the new home directory, verifying that whatever I move isn't going to cause problems. As far as your custom software, you'll probably need to compile it again due to newer shared libraries on debian/mint. HTH. Greg -- web site: http://www.gregn.net gpg public key: http://www.gregn.net/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) -- Free domains: http://www.eu.org/ or mail dns-mana...@eu.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130811060110.gb5...@gregn.net
Re: Problems installing wheezy
Thanks a lot, I read the documentation and mistook the word mounted for unmounted. I will be more careful next time. One question though, Will the installation still need Internet to continue, in-spite of having downloaded one dvd? On Sun, Aug 11, 2013 at 6:34 AM, st s...@kem.ru wrote: Anubhav Yadav wrote: Hello everyone, this is my first post here. I am facing lot of problems in installing wheezy. 1) I downloaded the dvd-1 image of amd-64 precisely debian-7.1.0-amd64-DVD-1 for installing wheezy. I checked the md5sum of my downloaded file and it was the same as of the original. So the image was verified. Being a hybrid image, I just ran the following commands to make a bootable usb stick cp debian-7.1.0-amd64-DVD-1.iso /dev/sdc/ sync I'm not sure how it could work at all, device file not being a directory. Even if it worked, though, it did a wrong thing. Disk images are to be transferred to disk, not to a file system. So, 1. Do NOT mount the target flash drive. If something asks you about that, just click Cancel. 2. Use the appropriate command to copy the *contents* of the image file to the medium, *not* the *file* itself. Say, if dmesg confirms that your device was attached as /dev/sdc, do cat debian-7.1.0-amd64-DVD-1.iso /dev/sdc This may be not the optimal way to do this, but would work as expected. Unless, that is, you're trying to create a bootable DVD, in which case growisofs is the way to go. Anyway, please do read the Installation Guide before proceeding. There may be more problems ahead if you don't. Now that /home contained a .config folder which is giving many errors at startup on mint, Check ownership. Debian assignes UIDs to normal users starting with 1000. Other systems may use different values, and that could lead to problems. ls -l and chown -R are your friends here. Will it happen in debian? Maybe. Maybe not. It's all about UID mapping, and there are no rules cut in stone for this. Should I really backup my /home partition. Backups never hurt. While on ubuntu I had compiled many software and libraries in my /home folder itself. Will they all work again in debian (or mint) or do I need to install them again? Anyone's guess. While I've been using some self-compiled binaries since Debian Woody, some other things might get broken. Whether they work or not, keeping binaries in /home is a very, very bad habit. /usr/local is the place. Thats it, those are the two problems that I am facing as of yet. I've only detected one: you haven't read the documentation. Get to http://www.debian.org/ before you go any further, and give the Installation Guide a shot. Half an hour's reading that can still save you days. -- Best nightdreams. Serge Tiunov, Do you really think you think http://e-head.net when you do think you do? -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.**debian.orgdebian-user-requ...@lists.debian.orgwith a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/**52073063.5020...@kem.ruhttp://lists.debian.org/52073063.5020...@kem.ru -- Regards, Anubhav Yadav
Re: Problems installing wheezy
Thanks a lot, I am finally able to install debian using a bootable USB, just had to leave the stick unmounted before attempting to copy the contents of the iso. I also read the whole documentation regarding installing debian for my architecture, and it really helped. It took me two hours though! And I also deleted my home partition and created a fresh system, and will use my backup to restore things that I need. That said, I am ready to power up my machine. Thanks again. Ah, yes I am writing this mail on my fresh wheezy!! On Sun, Aug 11, 2013 at 12:04 PM, st s...@kem.ru wrote: Anubhav Yadav wrote: Hello everyone, this is my first post here. I am facing lot of problems in installing wheezy. 1) I downloaded the dvd-1 image of amd-64 precisely debian-7.1.0-amd64-DVD-1 for installing wheezy. I checked the md5sum of my downloaded file and it was the same as of the original. So the image was verified. Being a hybrid image, I just ran the following commands to make a bootable usb stick cp debian-7.1.0-amd64-DVD-1.iso /dev/sdc/ sync I'm not sure how it could work at all, device file not being a directory. Even if it worked, though, it did a wrong thing. Disk images are to be transferred to disk, not to a file system. So, 1. Do NOT mount the target flash drive. If something asks you about that, just click Cancel. 2. Use the appropriate command to copy the *contents* of the image file to the medium, *not* the *file* itself. Say, if dmesg confirms that your device was attached as /dev/sdc, do cat debian-7.1.0-amd64-DVD-1.iso /dev/sdc This may be not the optimal way to do this, but would work as expected. Unless, that is, you're trying to create a bootable DVD, in which case growisofs is the way to go. Anyway, please do read the Installation Guide before proceeding. There may be more problems ahead if you don't. Now that /home contained a .config folder which is giving many errors at startup on mint, Check ownership. Debian assignes UIDs to normal users starting with 1000. Other systems may use different values, and that could lead to problems. ls -l and chown -R are your friends here. Will it happen in debian? Maybe. Maybe not. It's all about UID mapping, and there are no rules cut in stone for this. Should I really backup my /home partition. Backups never hurt. While on ubuntu I had compiled many software and libraries in my /home folder itself. Will they all work again in debian (or mint) or do I need to install them again? Anyone's guess. While I've been using some self-compiled binaries since Debian Woody, some other things might get broken. Whether they work or not, keeping binaries in /home is a very, very bad habit. /usr/local is the place. Thats it, those are the two problems that I am facing as of yet. I've only detected one: you haven't read the documentation. Get to http://www.debian.org/ before you go any further, and give the Installation Guide a shot. Half an hour's reading that can still save you days. -- Best nightdreams. Serge Tiunov, Do you really think you think http://e-head.net when you do think you do? -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.**debian.orgdebian-user-requ...@lists.debian.orgwith a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/**52073063.5020...@kem.ruhttp://lists.debian.org/52073063.5020...@kem.ru -- Regards, Anubhav Yadav
Re: Problems installing wheezy
On Aug 11, 2013 1:56 PM, Brian a...@cityscape.co.uk wrote: On Sun 11 Aug 2013 at 07:00:37 +, Anubhav Yadav wrote: Thanks a lot, I read the documentation and mistook the word mounted for unmounted. Can we clear on this so that people do not lose confidence in using an isohybrid image? 1. You ensured the USB device was unmounted. I did this mistake and this time I ensured that the usb was UNMOUNTED 2. You did either cp debian-7.1.0-amd64-DVD-1.iso /dev/sdc or cat debian-7.1.0-amd64-DVD-1.iso /dev/sdc The second one, but yes both works! (Both commands are equally as good). 3. Booting the stick now succeeded. It sure did!! :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130811082618.gd3...@copernicus.demon.co.uk
Re: Problems installing wheezy
Finally able to boot my machine with my new debian distro! Thanks a lot! I am gonna stay here forever! Some post-installation questions, 1) The desktop seems to be unusable, no icons on the desktop and I cannot right click onto it. Or it normal? Is there a setting to unlock the desktop? or is something wrong with the installation? 2) Now I have downloaded the dvd-iso-1 and installed debain, I will be downloading the other too dvds too this week. If I am not connected to the Internet and I have these iso*s* will I be able to install other packages using them? Else I will skip downloading them. Thanks again! Feels great! On Mon, Aug 12, 2013 at 5:55 AM, Anubhav Yadav anubhav1...@gmail.comwrote: On Aug 11, 2013 1:56 PM, Brian a...@cityscape.co.uk wrote: On Sun 11 Aug 2013 at 07:00:37 +, Anubhav Yadav wrote: Thanks a lot, I read the documentation and mistook the word mounted for unmounted. Can we clear on this so that people do not lose confidence in using an isohybrid image? 1. You ensured the USB device was unmounted. I did this mistake and this time I ensured that the usb was UNMOUNTED 2. You did either cp debian-7.1.0-amd64-DVD-1.iso /dev/sdc or cat debian-7.1.0-amd64-DVD-1.iso /dev/sdc The second one, but yes both works! (Both commands are equally as good). 3. Booting the stick now succeeded. It sure did!! :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130811082618.gd3...@copernicus.demon.co.uk -- Regards, Anubhav Yadav
Re: Problems installing wheezy
On Aug 11, 2013 11:43 PM, Robert Holtzman hol...@cox.net wrote: Don't top post. I keep on forgetting. Won't happen again Don't overquote. -- Bob Holtzman Our company's mission is to enable data-stream synergies with confluent bullshit mining,
Re: Problems installing wheezy
On Mon, Aug 12, 2013 at 10:07 AM, Kailash listskail...@gmail.com wrote: Default desktop is Gnome 3. Try watching a video tour of Gnome on youtube. Kailash -- -- I am well versed with gnome (using ubuntu for the past 3 years) I got a solution to my problem of desktop here http://www.debianuserforums.org/viewtopic.php?f=55t=1515#p14651 Regards, Anubhav Yadav
How to use the debian installation iso for installing packages using aptitude
Greetings all. This is what I am trying to do. I have the three dvd iso of debian. I installed debian without internet connection using the first iso image. Now I want to use these iso files to download and installing any packages that can be done through aptitude without using interent. I have internet but I want it to be second preference. This is what I managed to do until now: 1) I created a folder name dvd1-mountpoint in my /home folder 2) Next I mounted the iso using the command mount path/to/iso dvd1-mountpoint/ -o loop 3) Next I created a symbolic link to the mounted folder in the /media folder ln -s dvd1-mountpoint/ /media/apt1 4) Then i ran the following command apt-cdrom -d=/media/apt1/ add I got the following output root@Innovator:/home/neo1691# apt-cdrom -d=/media/apt1 add Using CD-ROM mount point /media/cdrom/ Identifying.. [d4c7effe2075e9ba0b4db99a257fba65-2] Scanning disc for index files.. Found 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures W: Failed to mount '/dev/sr0' to '/media/cdrom/' E: Unable to locate any package files, perhaps this is not a Debian Disc or the wrong architecture? Any help? I want to say some bandwidth as it is not cheap here, and is very slow Thanks! -- Regards, Anubhav Yadav -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9af++xnhi-mwt21uowwdck64l8yn35z4fslts2avgyg...@mail.gmail.com
Re: How to use the debian installation iso for installing packages using aptitude
On Aug 13, 2013 3:29 PM, recovery...@gmail.com wrote: Hi. According to apt-cdrom(8), '-d' means: Mount point; specify the location to mount the CD-ROM. This mount point must be listed in /etc/fstab and properly configured. Configuration Item: Acquire::cdrom::mount. Note /etc/fstab part. Apparently you have entry for /media/cdrom in your fstab, but don't have one for /media/apt1. Reco I added the following line to my etc/fstab file /home/neo1691/dvd1-mountpoint /media/apt1 iso9660 rw,user,noauto 00 And my first line in /etc/apt/sources.list # deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06]/ wheezy contrib main deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06]/ wheezy contrib main But now if I run say for example apt-get install xchat This time it never ask me to insert the cd rom it will search the mirrors. I guess I am close to achieving what I want.
Re: How to use the debian installation iso for installing packages using aptitude
dvd1-mountpoint is a folder where I mount the iso and /media/apt1 is a symbolic link to dvd1-mountpoint. So now what I will do is I will just mount the iso directly into /media/apt1 where apt1 is a directory not a link. Will this work?
Re: How to use the debian installation iso for installing packages using aptitude
This is what I did. deleted the symbolic link on /media/apt1 unmounted dvd1 deleted the folder /home/neo1691/dvd1-mountpoint created a new folder /media/dvd1-mountpoint and mounted the iso using the command mount path/to/iso /media/dvd-mountpoint1 -o loop then in etc/fstab added the line /home/neo1691/iso-files/debian-7.1.0-amd64-DVD-1.iso /media/apt1 iso9660 loop,ro,user,noauto 0 0 ran apt-get update output Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy Release.gpg Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy Release Err cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib amd64 Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Err cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main amd64 Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib Translation-en_IN Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib Translation-en Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main Translation-en_IN Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main Translation-en Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B] Hit http://security.debian.org wheezy/updates Release 99% [Waiting for headers] [Waiting for headers] [Waiting for headers] 132 B/s 0s^ Last line indicates that it have started using the mirrors. ran the command apt-cdrom -d=/media/dvd1-mountpoint add output: Using CD-ROM mount point /media/cdrom/ Identifying.. [60d2d6d8ea51839a2ff8c56c8284e175-2] Scanning disc for index files.. Found 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures W: Failed to mount '/dev/sr0' to '/media/cdrom/' E: Unable to locate any package files, perhaps this is not a Debian Disc or the wrong architecture? Changed entry in /etc/fstab to /home/neo1691/iso-files/debian-7.1.0-amd64-DVD-1.iso /media/apt1 iso9660 loop,ro,user,noauto 0 0 ran apt-get update output Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy Release.gpg Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy Release Err cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib amd64 Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Err cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main amd64 Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib Translation-en_IN Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/contrib Translation-en Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main Translation-en_IN Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy/main Translation-en Get:1 http://ftp.debian.org wheezy-updates Release.gpg [1,571 B] Get:2 http://ftp.debian.org wheezy-backports Release.gpg [1,571 B] Hit http://security.debian.org wheezy/updates Release.gpg Get:3 http://ftp.debian.org wheezy-updates Release [116 kB] Hit http://security.debian.org wheezy/updates Release Hit http://security.debian.org wheezy/updates/main Sources Hit http://security.debian.org wheezy/updates/contrib Sources Hit http://security.debian.org wheezy/updates/main amd64 Packages Hit http://security.debian.org wheezy/updates/contrib amd64 Packages 12% [Waiting for headers] [Waiting for headers] [3 Release 11.0 kB/116 kB 9%]689 B/s 2min 32s^ ran apt-cdrom -d=/media/dvd1-mountpoint add output Using CD-ROM mount point /media/cdrom/ Identifying.. [60d2d6d8ea51839a2ff8c56c8284e175-2] Scanning disc for index files.. Found 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures W: Failed to mount '/dev/sr0' to '/media/cdrom/' E: Unable to locate any package files, perhaps this is not a Debian Disc or the wrong architecture? Different roads lead to the same roads I guess! Well you must have guessed by now why I want to use CDROM for installation of packages. On 8/13/13, Anubhav Yadav anubhav1...@gmail.com wrote: dvd1-mountpoint is a folder where I mount the iso and /media/apt1
Re: How to use the debian installation iso for installing packages using aptitude
On 8/13/13, recovery...@gmail.com recovery...@gmail.com wrote: Ok, try it like this: 1) Add to sources.list: deb file:/media/apt1 debian main contrib non-free 2) Comment out anything else in sources.list. 3) Run apt-get update. This is my output Ign file: debian Release.gpg Ign file: debian Release Err file: debian/main amd64 Packages File not found Err file: debian/contrib amd64 Packages File not found Err file: debian/non-free amd64 Packages File not found Ign file: debian/contrib Translation-en_IN Ign file: debian/contrib Translation-en Ign file: debian/main Translation-en_IN Ign file: debian/main Translation-en Ign file: debian/non-free Translation-en_IN Ign file: debian/non-free Translation-en W: Failed to fetch file:/media/dvd1-mountpoint/dists/debian/main/binary-amd64/Packages File not found W: Failed to fetch file:/media/dvd1-mountpoint/dists/debian/contrib/binary-amd64/Packages File not found W: Failed to fetch file:/media/dvd1-mountpoint/dists/debian/non-free/binary-amd64/Packages File not found E: Some index files failed to download. They have been ignored, or old ones used instead. -- Regards, Anubhav Yadav -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9afgz5r1wpexhcfgy3w0s5wiusa14rrkxbky0nuciga...@mail.gmail.com
Re: How to use the debian installation iso for installing packages using aptitude
On 8/13/13, Lisi Reisz lisi.re...@gmail.com wrote: On Tuesday 13 August 2013 15:56:36 Anubhav Yadav wrote: Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B] Hit http://security.debian.org wheezy/updates Release 99% [Waiting for headers] [Waiting for headers] [Waiting for headers] 132 B/s 0s^ Last line indicates that it have started using the mirrors. What have you got in your sources.list? Please quote the whole thing. I have never used optical disks to install software, so I will leave explaining that to others. Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201308131706.52103.lisi.re...@gmail.com Here is my sources.list # #Added for making the repository from iso deb file:/media/dvd1-mountpoint debian main contrib non-free # deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06]/ wheezy contrib main #deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06]/ wheezy contrib main # Line commented out by installer because it failed to verify: #deb http://security.debian.org/ wheezy/updates main contrib # Line commented out by installer because it failed to verify: #deb-src http://security.debian.org/ wheezy/updates main contrib # wheezy-updates, previously known as 'volatile' # A network mirror was not selected during install. The following entries # are provided as examples, but you should amend them as appropriate # for your mirror of choice. # #deb http://ftp.debian.org/debian/ wheezy-updates main contrib #deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib # Debian 7 Wheezy #deb http://http.debian.net/debian/ wheezy main contrib non-free #backports (Did this for installing bumbelbee project for optimus feature of nvidia) #deb http://ftp.debian.org/debian wheezy-backports main contrib -- Regards, Anubhav Yadav -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9aecnh9qsaddurxqnvsv5ts9vy63d9y5dyjinqyresh...@mail.gmail.com
Re: How to use the debian installation iso for installing packages using aptitude
On Wed, Aug 14, 2013 at 12:08 PM, Bob Proulx b...@proulx.com wrote: To verify that your /etc/fstab line is correct you should mount using it instead of doing all of it above. # umount /media/dvd-mountpoint1 # mount /media/dvd-mountpoint1 Yes it works!! deb file:/media/dvd-mountpoint1 wheezy main contrib 2) Comment out anything else in sources.list. 3) Run apt-get update. Agreed. Try it again with the above. I just tried it on my system to test it. Did that, here is the output root@Innovator:/home/neo1691# apt-get update Ign file: wheezy Release.gpg Get:1 file: wheezy Release [18.6 kB] Err file: wheezy/non-free amd64 Packages Err file: wheezy/non-free amd64 Packages File not found W: Failed to fetch file:/media/dvd1-mountpoint/dists/wheezy/non-free/binary-amd64/Packages File not found E: Some index files failed to download. They have been ignored, or old ones used instead. -- Regards, Anubhav Yadav
Re: How to use the debian installation iso for installing packages using aptitude
On Wed, Aug 14, 2013 at 4:27 PM, Zenaan Harkness z...@freedbms.net wrote: On 8/14/13, Anubhav Yadav anubhav1...@gmail.com wrote: On Wed, Aug 14, 2013 at 12:08 PM, Bob Proulx b...@proulx.com wrote: To verify that your /etc/fstab line is correct you should mount using it instead of doing all of it above. # umount /media/dvd-mountpoint1 # mount /media/dvd-mountpoint1 Yes it works!! Great start. You should be able to do similar for second dvd. deb file:/media/dvd-mountpoint1 wheezy main contrib 2) Comment out anything else in sources.list. 3) Run apt-get update. Agreed. Try it again with the above. I just tried it on my system to test it. Did that, here is the output root@Innovator:/home/neo1691# apt-get update Ign file: wheezy Release.gpg Get:1 file: wheezy Release [18.6 kB] Err file: wheezy/non-free amd64 Packages Err file: wheezy/non-free amd64 Packages File not found W: Failed to fetch file:/media/dvd1-mountpoint/dists/wheezy/non-free/binary-amd64/Packages ^^^ Can you find this file? Well I can find the directory wheezy but inside that there are only two directories called contrib and main I guess thats the problem! cd around into those directories, and make sure the directory that you find the file Packages in is correct. Sometimes, the problem is, that you will find file Packages.gz, but no Packages. Or may be the other way around. I have had a problem like this in the past, and I don't know why - but I use debmirror. I find debmirror pretty good - to start, I copied DVD set into one directory. Then to an update from debian security archive (ie minimal) and include option --no-delete (or whatever its called). That could be a quick way to create a reasonable single local repo. That's what I have done (but I update every month or more at a friend's place). You can use apt-cdrom to install just a few packages, like debmirror. In fact years ago I used to use apt-mirror (was written or maintained by Herbert Xu I think), which is a great little toolbox for maintaining a local mirror, create a quick-and-dirty local index etc. Probably easier for you, but so long ago I can't remember the commands I used any more sorry. And finally, for the SIMPLEST quick-and-dirty local repo: dpkg-scanpackages . /dev/null | gzip - Packages.gz Then just make sure Packages.gz is found by apt - can't remember how this would work - a flat file? - or just put it in the above location (where you got file not found error). Hard to beat a one-line command :) Can you please explain me more about debmirror, will it solve what I am trying to achieve here? Good luck Zenaan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOsGNSRBSSR-72JmAgm=nnxtqpwcqx9dz6p9zmvr7mfko-v...@mail.gmail.com -- Regards, Anubhav Yadav
Re: How to use the debian installation iso for installing packages using aptitude
On Wed, Aug 14, 2013 at 4:39 PM, Ralf Mardorf ralf.mard...@alice-dsl.netwrote: On Wed, 2013-08-14 at 15:49 +0530, Anubhav Yadav wrote: On Wed, Aug 14, 2013 at 12:08 PM, Bob Proulx b...@proulx.com wrote: deb file:/media/dvd-mountpoint1 wheezy main contrib ^^^ file:/media/dvd1-mountpoint/dists/wheezy/non-free/binary-amd64/Packages File not found I suspect you add wheezy main contrib non-free, if so remove non-free. Removed it root@Innovator:/home/# apt-get update Ign file: wheezy Release.gpg Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy Release.gpg Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD #Binary-1 20130615-23:06] wheezy Release What does this mean? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1376478546.1751.90.camel@archlinux -- Regards, Anubhav Yadav
Re: How to use the debian installation iso for installing packages using aptitude
I am still getting used to handling mailing list from Gmail. Pretty hard with the new ui of Gmail. Anyways tried genisoimage and it worked. The only problem was I needed to search what I wanted to download. Now I have to do the same with the other two dvds. And then I have to make a provision that these disks get auto mounted at startup.
Re: How to use the debian installation iso for installing packages using aptitude
It's working nicely (atleast for the first DVD). Now since I have added the entry in the fstab file, will it get auto mounted on startup?
Re: How to use the debian installation iso for installing packages using aptitude
mount -a isn't mounting /media/dvd1-mountpoint
Re: How to use the debian installation iso for installing packages using aptitude
I got it, but I thought before that adding entry to fstab and automounting at boot are not related to each other. I restarted but I had to mount all the three iso manually. mount -a won't work too. So I did suck it :-)
Re: How to use the debian installation iso for installing packages using aptitude
On 8/16/13, Bob Proulx b...@proulx.com wrote: Anubhav Yadav wrote: I got it, but I thought before that adding entry to fstab and automounting at boot are not related to each other. They are exactly related to each other. The /etc/fstab file defines what file systems are mounted at boot time. I restarted but I had to mount all the three iso manually. mount -a won't work too. So I did suck it :-) Then something is wrong with the listings in your /etc/fstab file. But previously I gave you a test for it and you said that worked. So the line must be syntactically correct and is mounting the right file system. Do you have noauto there? That is the only thing that makes sense. Remove it. Look for a noauto option and remove it. $ man fstab ... noauto do not mount when mount -a is given (e.g., at boot time) ... yes it is noauto What options do you have? For mounting an iso you probably only want loop and ro and no other options. This is what I have in my fstab /home/neo1691/iso-files/debian-7.1.0-amd64-DVD-1.iso /media/dvd1-mountpoint iso9660 loop,ro,user,noauto 00 Bob also one more thing, when I try to install any package, it says the packages cannot be authenticated, is that fine? for eg root@Innovator:/home/neo1691# apt-get install audacity Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: audacity-data libflac++6 libid3tag0 libportsmf0 libsbsms10 libvamp-hostsdk3 libwxbase2.8-0 libwxgtk2.8-0 Suggested packages: ladspa-plugin libgnomeprintui2.2-0 The following NEW packages will be installed: audacity audacity-data libflac++6 libid3tag0 libportsmf0 libsbsms10 libvamp-hostsdk3 libwxbase2.8-0 libwxgtk2.8-0 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/9,820 kB of archives. After this operation, 28.7 MB of additional disk space will be used. Do you want to continue [Y/n]? Y WARNING: The following packages cannot be authenticated! libflac++6 libsbsms10 libwxbase2.8-0 libwxgtk2.8-0 audacity-data libid3tag0 libportsmf0 libvamp-hostsdk3 audacity Install these packages without verification [y/N]? -- Regards, Anubhav Yadav -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9ahxsy44hptciv+qb+qreix5uk8s2-1wdetnsqi2av_...@mail.gmail.com
Re: How to use the debian installation iso for installing packages using aptitude
On Aug 16, 2013 10:24 AM, Bob Proulx b...@proulx.com wrote: Anubhav Yadav wrote: Bob Proulx wrote: Do you have noauto there? That is the only thing that makes sense. Remove it. Look for a noauto option and remove it. yes it is noauto What options do you have? For mounting an iso you probably only want loop and ro and no other options. This is what I have in my fstab /home/neo1691/iso-files/debian-7.1.0-amd64-DVD-1.iso /media/dvd1-mountpoint iso9660 loop,ro,user,noauto 0 0 Remove the user and noauto options and then it should mount with -a and at boot time. Yes it worked now. It will automount at boot now. Thanks. also one more thing, when I try to install any package, it says the packages cannot be authenticated, is that fine? When you upgraded to Wheezy did you not upgrade debian-archive-keyring? That package contains the key. Verify that it is up to date. Upgrade it if needed. Then run apt-get update again. $ apt-cache policy debian-archive-keyring debian-archive-keyring: Installed: 2012.4 Candidate: 2012.4 Version table: *** 2012.4 0 500 http://ftp.us.debian.org/debian/ wheezy/main i386 Packages 100 /var/lib/dpkg/status Upgrade it if needed. Find the deb file in your mounted iso image. # find /media/dvd-mountpoint1 -name 'debian-archive-keyring_*_all.deb' /media/dvd-mountpoint1/pool/main/d/debian-archive-keyring/debian-archive-keyring_2012.4_all.deb Install it by that path. # dpkg -i /media/dvd-mountpoint1/pool/main/d/debian-archive-keyring/debian-archive-keyring_2012.4_all.deb Then update again to clear the error. # apt-get update After that you should not be getting that authentication error again. Because the keyring will be installed authorizing them. I did the above steps found the deb installed it and ran apt-get update, but the warning still stays. Running $ apt-cache policy debian-archive-keyring gives them same output as it gives for you I guess only this is remaining everything else seems to be sorted out.
Re: How to use the debian installation iso for installing packages using aptitude
Okay list!! Thanks a lot for your help! Just a little update, only a small part is remaining. Everything now works as desired. Only thing when I run apt-get install for eg, apt-get install audacity I get the following output WARNING: The following packages cannot be authenticated! libflac++6 libsbsms10 libwxbase2.8-0 libwxgtk2.8-0 audacity-data libid3tag0 libportsmf0 libvamp-hostsdk3 audacity Install these packages without verification [y/N]? I did what bob said, # find /media/dvd-mountpoint1 -name 'debian-archive-keyring_*_all.deb' /media/dvd-mountpoint1/pool/main/d/debian-archive-keyring/debian-archive-keyring_2012.4_all.deb Installed it by that path. # dpkg -i /media/dvd-mountpoint1/pool/main/d/debian-archive-keyring/debian-archive-keyring_2012.4_all.deb and then run # apt-get update but still I get that warning. Still I am almost there! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AH9F=5ug7vqizqquzx+lj5vr3fhxs8eojtv1009aas...@mail.gmail.com
Re: How to use the debian installation iso for installing packages using aptitude
On 8/17/13, Gregory Nowak g...@gregn.net wrote: On Fri, Aug 16, 2013 at 07:34:22PM +0530, Anubhav Yadav wrote: but still I get that warning. Still I am almost there! Try running apt-key update and then try installing the software. It did apt-key update and still I see the warnings! Greg -- web site: http://www.gregn..net gpg public key: http://www.gregn..net/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) -- Free domains: http://www.eu.org/ or mail dns-mana...@eu.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130816231808.ga8...@gregn.net -- Regards, Anubhav Yadav -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9afhlx2j3rmh1f405feqykb8crokfmy4xtgcllfope5...@mail.gmail.com
Re: How to use the debian installation iso for installing packages using aptitude
On 8/17/13, Zenaan Harkness z...@freedbms.net wrote: On 8/17/13, Anubhav Yadav anubhav1...@gmail.com wrote: apt-get install audacity I get the following output WARNING: The following packages cannot be authenticated! libflac++6 libsbsms10 libwxbase2.8-0 libwxgtk2.8-0 audacity-data libid3tag0 libportsmf0 libvamp-hostsdk3 audacity Install these packages without verification [y/N]? I did what bob said, # find /media/dvd-mountpoint1 -name 'debian-archive-keyring_*_all.deb' /media/dvd-mountpoint1/pool/main/d/debian-archive-keyring/debian-archive-keyring_2012.4_all.deb Installed it by that path. # dpkg -i /media/dvd-mountpoint1/pool/main/d/debian-archive-keyring/debian-archive-keyring_2012.4_all.deb Does dpkg --status debian-archive-keyring say it's installed? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOsGNSQxdgLuog=dbna66=uxezr0erq4txsiyw5xb_m5cpb...@mail.gmail.com Yes it says its installed dpkg --status debian-archive-keyring Package: debian-archive-keyring Status: install ok installed Priority: important Section: misc Installed-Size: 82 Maintainer: Debian Release Team packa...@release.debian.org Architecture: all Multi-Arch: foreign Version: 2012.4 Depends: gpgv Recommends: gnupg Breaks: apt ( 0.7.25.1) Conffiles: /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg 342e9f6a4bd60ac4e3f1fe74dc46e844 /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg 2e662da7572ee5fe2e921c7b1de6e564 /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg e5d3c1f7461bc12685f9b331c60beadd /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg 722258fff5af68c002429c4433bd228b Description: GnuPG archive keys of the Debian archive The Debian project digitally signs its Release files. This package contains the archive keys used for that. neo1691@Innovator:~$ dpkg --status debian-archive-keyring Package: debian-archive-keyring Status: install ok installed Priority: important Section: misc Installed-Size: 82 Maintainer: Debian Release Team packa...@release.debian.org Architecture: all Multi-Arch: foreign Version: 2012.4 Depends: gpgv Recommends: gnupg Breaks: apt ( 0.7.25.1) Conffiles: /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg 342e9f6a4bd60ac4e3f1fe74dc46e844 /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg 2e662da7572ee5fe2e921c7b1de6e564 /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg e5d3c1f7461bc12685f9b331c60beadd /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg 722258fff5af68c002429c4433bd228b Description: GnuPG archive keys of the Debian archive The Debian project digitally signs its Release files. This package contains the archive keys used for that. neo1691@Innovator:~$ -- Regards, Anubhav Yadav -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9aeqmokttx0rauziyagh2qwo4h18+p9zbedu3u2mokp...@mail.gmail.com
Re: How to use the debian installation iso for installing packages using aptitude
Just a small update. I uncommented out everything in sources.list so all my offline and online repositories are enabled. Ran apt-get update Commented out only my dvd-mountpoints, so no offline repository. Ran apt-key update Gave me the following output root@Innovator:~# apt-key update gpg: key B98321F9: Squeeze Stable Release Key debian-rele...@lists.debian.org not changed gpg: key 473041FA: Debian Archive Automatic Signing Key (6.0/squeeze) ftpmas...@debian.org not changed gpg: key 65FFB764: Wheezy Stable Release Key debian-rele...@lists.debian.org not changed gpg: key 46925553: Debian Archive Automatic Signing Key (7.0/wheezy) ftpmas...@debian.org not changed gpg: Total number processed: 4 gpg: unchanged: 4 After that I tried installing a package with apt-get (with my offline repository disabled) and the warning that was coming before (the packages could not be authenticated, do you want to continue or not?) was not there. Okay, so now I commented out all online repositories and uncommented out the offline repos (the iso files) The warning was back. Also if I have all the repos enabled, the package gets installed from the online repos! Which is not what is required! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AFcA1okh8ikNFrgTi0rPE7k-Jz=ftbi0ad3qe7tp8d...@mail.gmail.com
Re: How to use the debian installation iso for installing packages using aptitude
OK, So because of that I'm guessing you need an entry like: gpg: key cxdfddey: Local Repository Key blah blah blah. So following the adage -- teach a man to fish ... Googling how to authenticate a local repository Debian (leave off the quotes in the search box.) Returns, e.g.: http://forums.debian.net/viewtopic.php?f=16t=60560 http://www.kanotix.com/PNphpBB2-viewtopic-t-18541.html https://wiki.debian.org/SecureApt http://www.eyrie.org/~eagle/notes/debian/private-repo.html http://linuxconfig.org/easy-way-to-create-a-debian-package-and-local-package-repository http://ubuntuforums.org/archive/index.php/t-1664281.html http://www.eucalyptus.com/download/euca2ools/1.3.1/debian http://serverfault.com/questions/111885/securely-restrict-access-to-a-private-debian-repository http://blog.jonliv.es/2011/04/26/creating-your-own-signed-apt-repository-and-debian-packages/ Another way is to just cut'n'paste the error/warning/ message into google. Thanks a lot for your help, the links you sent me all contain how to sign your own repository that you make for your own packages. Here I am using the debian repository. So I guess I will need to sign them with the official key. Where can I find that key? Also if I generate my own gpg key and sign the repository using that key, will it get authenticated? Just the last piece of the puzzle! -- Regards, Anubhav Yadav
Re: How to use the debian installation iso for installing packages using aptitude
That would of course defeat the purpose of having an official key, if anyone could sign packages officially. Your key only. I found a key on this page? Can you help me now, by telling me how to add that particular key into my repository. I have mounted the iso in /media/dvd1-mountpoint/ The key is here https://ftp-master.debian.org/keys/archive-key-6.0.asc -- Regards, Anubhav Yadav
Cannot view all my android folders in nautilus after mounting android as MTP
Hello list, I am using an android phone running 4.0.4 ICS and when I connect my phone with USB( and select MTP as transfer protocol), it gets mounted on linux, but I am able to view very few folders. There are many folders in the phone. Well the phone does not has a memory card, it just has a 2 gb internal sd card. I am using debian wheezy 7.1, it has gvfs-backends installed to the newest version! Any help is appreciated. Thanks. Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1377879046.5005.3.camel@Innovator
Re: Cannot view all my android folders in nautilus after mounting android as MTP
Can't you just treat it as a normal USB stick? e.g. Plug it in select connect to PC on phone. then # mount /dev/sdb /mnt (get some error msgs) It gives me this no medium found on /dev/sdb then # mount /dev/sdb1 /mnt and this gives me special device /dev/sdb1 does not exist -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1377943779.17685.1.camel@Innovator
Re: Not able to use netbeans on debian 7.1 wheezy
On Sat, 2013-08-31 at 15:45 +0530, Anubhav Yadav wrote: A little update When I run java -version I get this output java version 1.6.0_27 OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) And I just installed a new debian on another laptop and didn't updated it. And netbeans runs fine on this laptop. Here is the output for java -version java version 1.6.0_27 OpenJDK Runtime Environment (IcedTea6 1.12.5) (6b27-1.12.5-1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) I feel that has something to do with IcedTead plugin -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1377958868.6055.4.camel@Innovator
[Solved] Re: Not able to use netbeans on debian 7.1 wheezy
On Mon, 2013-09-02 at 09:08 +0530, Anubhav Yadav wrote: Maybe you have been bitten by this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718645 I can see a solution here http://askubuntu.com/questions/326933/netbeans-broken-after-openjdk-update then can somebody tell me the command to downgrade the icedtea related to wheezy, the solution is given with respect to ubuntu. I ran the following command, and its fixed root@Innovator:/home/neo1691# apt-get install openjdk-6-jre=6b27-1.12.5-1 openjdk-6-jre-headless=6b27-1.12.5-1 icedtea-6-jre-cacao=6b27-1.12.5-1 openjdk-6-jre-lib=6b27-1.12.5-1 Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: icedtea-plugin sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho ttf-wqy-microhei ttf-wqy-zenhei ttf-indic-fonts The following packages will be REMOVED: default-jdk icedtea-6-jre-jamvm openjdk-6-jdk The following packages will be DOWNGRADED: icedtea-6-jre-cacao openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib 0 upgraded, 0 newly installed, 4 downgraded, 3 to remove and 0 not upgraded. Need to get 32.6 MB of archives. After this operation, 36.7 MB disk space will be freed. Do you want to continue [Y/n]? Y And its solved!! :) -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378097168.6303.2.camel@Innovator
Hotspot script not working
Hello List, I used to make use of this script extensively when I was using ubuntu. It used to work perfectly out-of-the-box. But on debian when I start the script, it runs without any error, but the hotspot is never shown on my mobile. When I restart the script, I get this error message: Restarting Wireless Hotspot... Stopping Wireless Hotspot... mon.wlan0: ERROR while getting interface flags: No such device Starting Wireless Hotspot... Wireless Hotspot active The script is here http://paste.debian.net/33549/ And I downloaded the script here: http://www.webupd8.org/2013/06/how-to-set-up-wireless-hotspot-access.html Any help will be appreciated. -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378102804.7954.3.camel@Innovator
Re: Hotspot script not working
On Mon, 2013-09-02 at 10:33 +0100, Darac Marjal wrote: I suspect this is coming from line 253 (ifconfig mon.$INTERFACE_WLAN down). I believe that the . has a special meaning in interface names inasmuch as it indicates a VLAN (virtual LAN) device. So mon.wlan0 would be the VLAN wlan0 running over physical interface mon. Now, as VLAN IDs can only be numeric and I don't think you've got a mon interface, that's why it's failing. I *also* can't find any other mention of mon. in that file. It's possible one of the commands it calls creates such an interface (I'm not familiar with hostapd or dnsmasq), so check how they work first. But you might get away with just commenting out line 253 :) I commented out the line, the error won't come, but still the hotspot is not detected on my mobile! Any help will be appreciated. -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378102804.7954.3.camel@Innovator -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378179642.5206.1.camel@Innovator
Re: Cannot view all my android folders in nautilus after mounting android as MTP
On Mon, 2013-09-02 at 04:23 +1200, Chris Bannister wrote: On Sat, Aug 31, 2013 at 03:39:39PM +0530, Anubhav Yadav wrote: Can't you just treat it as a normal USB stick? e.g. Plug it in select connect to PC on phone. then # mount /dev/sdb /mnt (get some error msgs) It gives me this no medium found on /dev/sdb Did you select connect storage to PC on phone like I said? (That has to be successful before trying anything else!) You have to enable USB debugging on the phone, for Gingerbread it's under settings --- applications --- Development before connect storage to PC will be allowed. THEN # mount /dev/sdb /mnt You should see something similar to: [4247732.683920] sd 100:0:0:0: [sdb] No Caching mode page present [4247732.690689] sd 100:0:0:0: [sdb] Assuming drive cache: write through [4247732.700447] sd 100:0:0:0: [sdb] No Caching mode page present [4247732.703418] sd 100:0:0:0: [sdb] Assuming drive cache: write through [4247732.827436] FAT-fs (sdb): invalid media value (0x00) mount: you must specify the filesystem type It fails with the same error! Connected my phone in usb debugging mode. -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378181090.5206.7.camel@Innovator
Re: Cannot view all my android folders in nautilus after mounting android as MTP
On Mon, 2013-09-02 at 10:07 +0100, Darac Marjal wrote: On Mon, Sep 02, 2013 at 04:23:08AM +1200, Chris Bannister wrote: On Sat, Aug 31, 2013 at 03:39:39PM +0530, Anubhav Yadav wrote: Can't you just treat it as a normal USB stick? e.g. Plug it in select connect to PC on phone. then # mount /dev/sdb /mnt (get some error msgs) It gives me this no medium found on /dev/sdb Did you select connect storage to PC on phone like I said? (That has to be successful before trying anything else!) You have to enable USB debugging on the phone, for Gingerbread it's under settings --- applications --- Development before connect storage to PC will be allowed. THEN # mount /dev/sdb /mnt You should see something similar to: [4247732.683920] sd 100:0:0:0: [sdb] No Caching mode page present [4247732.690689] sd 100:0:0:0: [sdb] Assuming drive cache: write through [4247732.700447] sd 100:0:0:0: [sdb] No Caching mode page present [4247732.703418] sd 100:0:0:0: [sdb] Assuming drive cache: write through [4247732.827436] FAT-fs (sdb): invalid media value (0x00) mount: you must specify the filesystem type Erm... What's the point of mounting the whole disk when you seem to already know that it's going to fail? If you just need to get the kernel to read the partition table, then try hdparm -z /dev/sdb Teaching people to do something that you expect to result in an error seems a bad idea to me. then # mount /dev/sdb1 /mnt Well, The point is when I select MTP on my android phone when I connect it to laptop, and debian mounts android. But all folders that are there in my phone are not seen in the explorer. Whereas if I connect the android phone to windows it shows all my files. Only 10 folders are seen on debian, whereas there are many others! -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378179978.5206.5.camel@Innovator
Re: Re: Cannot view all my android folders in nautilus after mounting android as MTP
As above or as before? As before. Yes I saw the thread! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378220898.5999.0.camel@Innovator
Re: Re: Hotspot script not working
Hello May I suggest trying to google for using debian as an ad-hoc wifi / hotspot / whatever you want to call it, since it may just be easier to do that rather than porting/debugging that script? I was able to find quite a few guides, even on wiki.debian.org. Good luck! I will quote a line from where I downloaded the script Ubuntu lets you easily create a wireless hotspot by using the Network Manager, but it uses an ad hoc network and most Android and Windows Phone devices can't connect to such networks. But still I will give it a try! -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378221150.5999.2.camel@Innovator
Re: Re: Re: Cannot view all my android folders in nautilus after mounting android as MTP
In that case I'm stumped. Sorry I can't help you any further. I think, as someone mentioned above, that MTP is only used to transfer files that contain media. So maybe thats the reason that its not mounting. Tomorrow I will try to connect my phone to another distro and will report if all files are visible there or not. Thanks for the help though. Appreciated! -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378309832.20617.1.camel@Innovator
tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?
Hello List, I want to learn and master the command line of Linux. I want to be comfortable at editors like vim. I am justing getting intrigued by the command line. So I have decided to force myself to use the command line by installing a gdm-less debian on my laptop. The laptop currently has a windows and debian dual boot. My current debian partition is such that /, /home, /usr, /var and /temp are all on a different partition. Can I install debian again on my machine (without any desktop manager) on a separate partition for / and use the /home, /usr, /var and /temp from my current debian installation? -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378317529.20617.10.camel@Innovator
Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?
On Wed, 2013-09-04 at 21:05 +0200, Slavko wrote: When you (original poster) want to learn Linux, I suggest to use some virtualisation (VirtualBox can be good choice), because all three OS can be used at one time - no reboot is needed. Yes, right now I am doing the same, using virtualbox, and enjoying at the moment, but then I tend to easily move away from terminal if I get stuck at something, and use the gnome environment. As I said, I want to force my self into learning linux! -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378321951.20617.17.camel@Innovator
Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?
On Wed, 2013-09-04 at 19:33 +0100, Brian wrote: Possibly. But why bother? Debian may be a Good Thing - but why do you need more than one installation? If you do, why not just do it? One for using an OS as a normal user (the one I have currently with debian installed) and the other for forcing me to use the shell for daily tasks. I just don't want another entirely new version of wheezy again, just asking if I can install another debian with all /home, /var, /usr and /temp from current installation, so that I can access my files from both the installations! -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378320791.20617.14.camel@Innovator
Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?
And I actually managed to forget the footnote... Shame on me Thanks I was actually wondering where it is! I'll do some research this weekend and see what can I do with it. -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378376615.7358.0.camel@Innovator
Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?
boot Debian into textmode How can I do this?? And thanks, just wondering now how many ways I have got to accomplish what I want to do! -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378376751.7358.1.camel@Innovator
Re: Re: Cannot view all my android folders in nautilus after mounting android as MTP
Tried gmtp, it wont seem to work. I think I need to do some tweaks on my mobile side, maybe need to root it and install some files. (saying this after reading some posts on the nexus threads on xda-developers) -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378377277.7358.4.camel@Innovator
Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?
On Thu, 2013-09-05 at 12:25 +0200, Jochen Spieker wrote: Anubhav Yadav: Can I install debian again on my machine (without any desktop manager) on a separate partition for / and use the /home, /usr, /var and /temp from my current debian installation? You shoud never share /usr unless your two installations have the exact same set of packages installed. The same applies to /var. /tmp may be shared freely as long as you don't suspend one OS to disk. /home is not a problem as long as you don't mix stable and testing or unstable. Many programs save their settings there and may upgrade their config file format without notice. Older versions may not be able to read this. J. That sums it up! Thanks a lot for the information! -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378388967.5592.2.camel@Innovator
Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?
It'd be a lot easier to just CTRL-ALT-F1 to a virtual terminal and work from there, don't you think? This is the most easiest solution for me I feel. Thanks Chris! -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378439956.10051.0.camel@Innovator
Re: Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?
Thanks a lot! I will find out more information about tty1-tty6. -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378439405.9226.0.camel@Innovator
Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?
Forcing yourself to do something is a matter of self-discipline and attitude. Debian doesn't have packages for instilling those qualitities. :) This made my day :) Create two users. One for the undisciplined Anubhav and the other for his aspiring self. Switching to the console with CTRL+ALT+F2 gives the second user the opportunity to log in Or maybe just logging using the same user after switching to console with CTRL+ALT+F2. But yes, instead of installing a new version of debian just to use the console, this seems more feasible! -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378440107.10051.2.camel@Innovator
Re: Re: Re: Cannot view all my android folders in nautilus after mounting android as MTP
Have used airdroid before! I don't have a wifi connection always, and airdroid 2 update messed the app for me! Anyways thanks for the help! :) -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378491753.5990.0.camel@Innovator
Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?
Thanks a lot, much much appreciated. I now feel I (as a computer science student, and a programmer)have a direction in learning linux! :) -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378670467.6896.3.camel@Innovator
Possible bug in iceweasel, can somebody please verify!
Hello list, I am using debian wheezy 7.1 stable, 64 bit and was previously using google-chrome. But whenever I opened a new tab on chrome debian used to freeze, (or I should say X used to freeze). I didn't had much time to debug, so I removed it and switched to iceweasel which came with debian. Now, there is an extension for firefox called buffer, and I installed it, but it never showed on iceweasel. Can somebody please confirm this? Here is the link to install buffer extension (http://bufferapp.com/extensions) I tried to report this bug using reportbug program, but reportbug says that there is a new version of iceweasel in unstable. Should I install packages from unstable? I want to install firefox, but I don't see any official mozilla repository for debian. I was a chrome user for a long time, but the freezes on debian forced me to switch to iceweasel. I also tried disabling the pepperflash plugin for chrome. -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1380201787.18550.8.camel@Innovator
VLC freezes system
Hi list, Recently whenever I open some videos in vlc, debian freezes, I cannot even switch to tty1 and all I have to do is restart the system. I see that I have VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e) installed in debian, I tried installing the latest VLC (2.1.0) from the backports repository apt-get -t wheezy-backports install vlc but is says that VLC is installed to the latest version. Any help? -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1380773222.14978.4.camel@Innovator
How to install latest VLC 2.1.0 in debian
Changed the subject of the thread. Maybe that will help to get rid of the freeze. Sent from Samsung MobileAnubhav anubhav1...@gmail.com wrote:null
Re: VLC freezes system
On Thu, 2013-10-03 at 08:50 -0400, Gary Dale wrote: Memtest I'll do the memory test and report, however I would like to mention that I have 8 gigs of ram, and its a 65 bit laptop. Let me know if that information is enough! -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1380813309.29319.1.camel@Innovator
Re: Re: Re: VLC freezes system
I am using Nvidia GeForce GT 630 MB 2 gb graphics card, and I have installed the drivers of the same from https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_7_.22Wheezy.22 It is optimus enabled so I installed bumblebee for the driver. The video is mp4 format. -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1380910483.11096.1.camel@Innovator
Re: Re: How to install latest VLC 2.1.0 in debian
Actually, I just changed the subject of another thread and it came up as a different thread on mailing list! I will try out the deb-multimedia repository. Thanks! -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1380951905.6098.2.camel@Innovator
Re: Re: Re: How to install latest VLC 2.1.0 in debian
That reply gave me something to think at! Thanks a lot -- Regards, Anubhav Yadav, Computer Engineering Final Year Student, Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1381047246.6098.3.camel@Innovator
Uninstalled fglrx drivers. Now laptop heats and fan is always noisy.
I updated some packages on my debian wheezy 7 (64 bit) using the command apt-get -u upgrade and after a reboot, I was on a blank screen. So I booted into recovery and ran startx, which was again a blank screen. So I uninstalled the fglrx drivers and I was able to boot back on gnome. But now the laptop is getting heated and its fan is always noise. The same does not happens on my windows partition. The laptop is Dell Latitude N5010 with ati Raedon HD 5400 graphics card. Uname -r gives me: 3.2.0-4-amd64 Can somebody help me in this case? Should I upgrade my kernel and install fglrx again? Or is there something I am missing with open source drivers? -- *Regards,Anubhav Yadav* *Imperial College of Engineering and Research,* *Pune.*
Re: MTP and Android phones
go-mtpfs is your answer!! Go ahead. I am using it falwlessly -- *Regards,Anubhav Yadav* *Imperial College of Engineering and Research,* *Pune.*
PXE install, without internet?
Hey folks, I managed to convince my staff to switch to debian from windoze, and they agreed. So I managed to install a PXE server and successfully booted debian installer simultaneously on 20 machines using dhcp server. But they required an active internet connection to fetch packages over a mirror, and the bandwidth was very low, so at then end of the day, only one PC was able to set up. So is there a way to boot an entire 4gb dvd-iso from a server, so that I can install it on PC connected on a network?? Thanks! -- *Regards,Anubhav Yadav* *Imperial College of Engineering and Research,* *Pune.*
Re: Re: PXE install, without internet?
I am student. I did a google research already,and thanks for the link :) -- *Regards,Anubhav Yadav* *Imperial College of Engineering and Research,* *Pune.*
Re: Re: PXE install, without internet?
Yes, it should be a perfect option, given the fact that students can later install any package from the mirror. I'll try this and the apt-cacher solution too. Only one question. Suppose I want to update my packages, then should I update my ftp mirror once a week, or should I update it from an official debian mirror? -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9afd9tga77cwg5+rf62mha5cvs5e62bhqa3mfxbxe-a...@mail.gmail.com
Re: Re: PXE install, without internet?
Thanks for replying Scott,appreciated your time and effort. If I do apt-cdrom add, It will look for the cd-rom right, not the iso. So I'll first need to mount the iso somewhere and tweak the sources.list to point to a file, rather than a dvd. And yes, one box is already ready with debian 7 32 bits, which is also a PXE server and I'll be now using the same server to install 64 bit version of debian on 20 PCs. (Which are 32 bit debian now) Thanks a lot again :) -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9ahbltqgy5djhomea0op4e2nhdazfj86vcwsby+7vew...@mail.gmail.com
Re: PXE install, without internet?
On Sat, Jan 11, 2014 at 10:32 PM, Hans hans.ullr...@loop.de wrote: So is there a way to boot an entire 4gb dvd-iso from a server, so that I can install it on PC connected on a network?? Thanks! If the machines are all the same hardware, you might additionally try other ways. Just ideas: 1. FAI (see http://fai-project.org) - just create a FAI-DVD and you can install every machine with it. More DVD's mean faster installation. 2. Try clonezilla, once you setup the first PC, you can create more images and install via multicasting. 3. You might also try to run rsync in combination with a livefilesystem to get access to the harddrive of the target. 4. And of course, try DRBL, which sets up a cloneserver. As I said, just ideas Have fun! Hans -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/3645794.97IP4dNiPn@protheus2 There you go. So many options.I have got a whole lab for experimenting and learning. Will try them out!! Thanks again! :) -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9agudslbhiwm5kcg1deypfgrsmmg1q2nalqhjbv5bma...@mail.gmail.com
Re: Re: PXE install, without internet?
On Sat, Jan 11, 2014 at 9:10 PM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Sat, 2014-01-11 at 19:45 +0530, Anubhav Yadav wrote: I did a google research already My apologies, I had another impression. Ralf, I understand I should have been more precise with my question. Nevertheless, you have solved a lot of my problems here alone alongwith many others!! Cheers!! :) -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AFU8t4RCQzx2_bZVZEqC4EJVvCV21BD=cdjzy6wi7k...@mail.gmail.com
Re: Re: PXE install, without internet?
One of the most user friendly lists you'll find! :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9agkqgv1+d6vnkvgcxgroxk-_5xpz9rpvo21+g1_vg0...@mail.gmail.com
Re: PXE install, without internet?
I suspect apt-cacher-ng is the best long-term solution for the OP or I'd have suggested just adding the entire DVD repo. to the TFTP directory used by PXE. Still I'll be trying both! Never bad to learn anything new! Thanks again! :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AHwD=ar+vw5unqxv429+yctma8xkmxlbtwazmxb5xi...@mail.gmail.com
Re: Re: PXE install, without internet?
I installed apt-cacher-ng: I did the following: 1) Mounted my debian iso on /media/iso1/ 2) Tweaked my sources.list as deb file:/media/iso1/ wheezy main contrib (just in case) 3) And made changes in fstab to auto mount the iso. 4) created a symlynk to the pool folder in the iso to /var/cache/apt-cacher-ng/_import/ I did all the above on a 32 bit debian 7 box, pre configured with PXE server. Now, when I run import from apt-cacher-ng web interface I get the following errors: No index files detected. Unable to continue, cannot map files to internal locations. Apparantly I thought running apt-get update from the iso should solve problems, but apt-get update fails as I have 64bit repository and the server has 32 bit debian installed on the server. Last step and I am through! -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9af7fvw8cp9vp_6ae6bkobebydqxk9myk8rfdnmjnvq...@mail.gmail.com
Cannot import packages from debian iso to apt-cacher-ng
I installed a 32 bit Debian Wheezy on a PC (One PC in a lab of 24 computers). I made it a dhcp PXE server with netboot images of Debian 7 32 bits. It worked perfectly and all the 20 computers booted from network with the debian installer. The only problem was that all the packages had to be retrieved from the internet and bandwidth was a problem. So only one computer could be properly installed. So I tried to look for solutions on how to completely boot the 4.3 GB iso from the network, bypassing the internet mirrors completely. I asked a question on the debian user lists and was greeted with many solutions, among them was the apt-cacher-ng. So now I wanted to install 64 bit machines on the same lab, and the 32 bit server being the PXE server. So I installed the apt-cacher-ng package. All was set up. I mounted my iso file to a location, and created a symlink of the /pool folder to /var/cache/apt-cacher-ng/_import folder. Next I went to localhost:3142/acng-report.html and ran import and it gave me the following error: Maintenance task (File Import), apt-cacher-ng version: 0.7.11 (Cancel) Importing from /var/cache/apt-cacher-ng/_import directory. Scanning local files... Scanning, found 1 file... Scanning, found 2 files... Scanning, found 4 files... Scanning, found 8 files... Scanning, found 16 files... Scanning, found 32 files... Scanning, found 64 files... Scanning, found 128 files... Scanning, found 256 files... Scanning, found 512 files... Scanning, found 1024 files... Scanning, found 2048 files... No index files detected. Unable to continue, cannot map files to internal locations. So I went ahead and tried to grasp the HOWTO for importing from iso, and it mentioned that you need to run apt-get update before importing the packages. Now since I wanted to cache all the 64 bits packages from the iso, I tweaked my sources.list to point to iso (The hyperlink is a method given by me on how to use iso's as apt-get repository). Now when I ran apt-get update it gave me an error that no i386 packages found (made sense since I was running it on 32 bits server, and looking for amd64 packages). So as a test, I installed apt-cacher-ng on my laptop running 64 bits debian, and it gave me the same index error. I even tried manually copying *deb packages from /var/cache/apt/archives to /var/cache/apt-cacher-ng/_import folder, but again same error! I also tried importing packages from official repositories and again it failed. I am no champion of linux, nor of networking. I am just a student, trying to learn linux as much as he can, by asking his college to shift from windows to linux, and in the process learning the fundamentals of networking and linux. Any ideas? -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9aejfvtigqzhddt6oyekr6ejklztv8p-5v68win993t...@mail.gmail.com
Re: Cannot import packages from debian iso to apt-cacher-ng
Then I recommend taking the easy way out. Just install one machine using apt-cacher-ng as a proxy. Then all of the packages will be ready for the next machine. Install the rest using the proxy and they will use the already downloaded files. It is simple. It works. Was it so easy. How did I miss it. So that means I need to set up the PXE server, install apt-cacher-ng using that server, then install a client again using that server and apt-cacher-ng will then be ready for the next machines!! :) -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9agx2m2m+auaqyrzhsjqqrp97ydrigneivhay0ojt8u...@mail.gmail.com
Re: Cannot import packages from debian iso to apt-cacher-ng
Can anyone please rectify me. I have got some weird doubts. I have set up a PXE boot server. It has a forder /srv/tftp and it has all the required files for PXE install. I have also installed apt-cacher-ng on that PXE server. And that PXE server is also acting as a local DHCP server. So now, what should I do? 1) I should first do this on the PXE server echo Acquire::http { Proxy http://localhost:3142;;; }; /etc/apt/apt.conf.d/90proxy and then I should install one client using my bootable usb. But then how will apt-cacher import all packages from that client? 2) Or instead of step 1 above, should I first mount all the three iso on the PXE server, create a symlink to the /pool folder to /var/cache/apt-cacher-ng/_import and then import packages? But the above method fails! Don't know why! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9agttxi22cqnq43qwxzhw8xjsrwa+dzzfdz7ioh+qz8...@mail.gmail.com
Re: PXE install, without internet?
set the proxy on the pxe server to localhost:3142 using /etc/apt/apt.conf.d/90proxy or (/etc/apt/apt.conf) I did the above and now on my PXE server I have 12 gb of packages cached. What I want to do is when I boot the other computers via network, (ie the boot from tftp on my PXE server) I want them to download all packages from the apt-cacher-ng, instead of downloading from the internet repositories. When I get on the network mirror page on the installation of client, I try the following http://{PXE_IP_Address}:3142 but it just won't work. I have also been advised to use a proxy in the preseed.cfg. However I am not using any preseed file. My directory listing of tftp folder is drwxrwxr-x 3 root root 4096 Dec 12 11:48 debian-installer lrwxrwxrwx 1 root root 33 Dec 12 11:48 pxelinux.0 - debian-installer/amd64/pxelinux.0 lrwxrwxrwx 1 root root 35 Dec 12 11:48 pxelinux.cfg - debian-installer/amd64/pxelinux.cfg -rw-rw-r-- 1 root root 64 Dec 12 11:48 version.info Please advice. Thanks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AGexz0yqWy6NTRk3=1cfyni897wfgpvh+tfmospntv...@mail.gmail.com
Re: PXE install, without internet?
On 24 Jan 2014 16:02, Klaus klaus.doering...@gmail.com wrote: On 24/01/14 08:44, Anubhav Yadav wrote: When I get on the network mirror page on the installation of client, I try the following http://{PXE_IP_Address}:3142 but it just won't work. Didn't we have a recent thread about this? I seem to remember that there might be a bug in the current installer, and you have to escape the installer process at that point. Then, enter a shell and edit the file /etc/apt.conf.d/proxy (this is now on the to-be-installed machine) to point to your apt-cacher. Exit shell, back to the installer, and live happily ever after :-) Just now left from my college. This is the first thing I'll do on Tuesday. Just a question. Will this work now for both bootable USB and PXEA server methods. I have also been advised to use a proxy in the preseed.cfg. And? Wasn't that good advice? From http://www.debian.org/releases/wheezy/example-preseed.txt d-i mirror/http/directory string /debian d-i mirror/http/proxy string Dont know why, i am afraid of preeseeding as of now. I should gice that a try. Cheers -- Klaus -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52e2412b.5070...@gmail.com
Re: Connecting Debian to Android phone
Have you tried go-mtpfs? On 26 Jan 2014 12:54, Csanyi Pal csanyi...@gmail.com wrote: ken geb...@mousecar.com writes: On 01/25/2014 04:35 PM Csanyi Pal wrote: Hi, I want to connect my Samsung Galaxy S4 mini mobile phone with my Debian SID desktop system through an USB cable to transfer files from phone to Debian system. How can I do that? I have installed on the phone the KDE Connect application, and on the Debian Dekstop the kdeconnect debian package, but don't know how to use them? For quite a while I've been doing this with a free app from google play called Software Data Cable... except what's nicer is that no USB cable is necessary. SDC sets up an ftp server on the phone and then the files are transferred (in either direction) between my phone and computer over the local network wirelessly. It's not the method you asked about, but I thought you might be interested nonetheless. Indeed, it's not the method I asked about. -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/871tzvfbou@gmail.com
Re: Connecting Debian to Android phone
There are also precompiled binaries somewhere. I am travelling right now so can't help you much. Let me get back to my desk. On 26 Jan 2014 15:10, Csanyi Pal csanyi...@gmail.com wrote: Hi, Anubhav Yadav anubhav1...@gmail.com writes: On 26 Jan 2014 12:54, Csanyi Pal csanyi...@gmail.com wrote: ken geb...@mousecar.com writes: On 01/25/2014 04:35 PM Csanyi Pal wrote: Hi, I want to connect my Samsung Galaxy S4 mini mobile phone with my Debian SID desktop system through an USB cable to transfer files from phone to Debian system. How can I do that? I have installed on the phone the KDE Connect application, and on the Debian Dekstop the kdeconnect debian package, but don't know how to use them? For quite a while I've been doing this with a free app from google play called Software Data Cable... except what's nicer is that no USB cable is necessary. SDC sets up an ftp server on the phone and then the files are transferred (in either direction) between my phone and computer over the local network wirelessly. It's not the method you asked about, but I thought you might be interested nonetheless. Indeed, it's not the method I asked about. Have you tried go-mtpfs? Yes, but when I'm trying to install it on Debian SID, I get the following bugreport, so I'm not installing it: Retrieving bug reports... Done Parsing Found/Fixed information... Done grave bugs of mtpfs (→ 1.1-4.1) Outstanding #654939 - mtpfs: broken overnight Summary: mtpfs(1 bug) Are you sure you want to install/upgrade the above packages? [Y/n/?/...] I choose here the 'n' option. -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87ppnfdqtu@gmail.com
Re: PXE install, without internet?
On Fri, Jan 24, 2014 at 4:02 PM, Klaus klaus.doering...@gmail.com wrote: Didn't we have a recent thread about this? I seem to remember that there might be a bug in the current installer, and you have to escape the installer process at that point. Then, enter a shell and edit the file /etc/apt.conf.d/proxy (this is now on the to-be-installed machine) to point to your apt-cacher. Exit shell, back to the installer, and live happily ever after :-) I exited to shell and created the directory apt.conf.d in /etc and put the following lines in it. #nano /etc/apt.conf.d/proxy Acquire::http { Proxy http://CacheServerIp:3142;; }; Still doesn't seem to work. Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AHgc-9g_bs=LzdL-Kf=t5rmz-sjrgq0zted7fppnvc...@mail.gmail.com
Re: PXE install, without internet?
It can't work as the snippet name is in the wrong format The correct snippet name is /etc/apt/apt.conf.d/NNproxy where NN is a number e.g.:- /etc/apt/apt.conf.d/90proxy Make sure you use the ip address not the server name I did the above. When I come to the page where I am supposed to select a mirror I execute a shell, create the required directory and put the above line it it. Next I go back to the miror page, select any mirror on the installer and then leave the proxy blank. Yet all the packages and release files seems to be downloading from the internet! Thanks for your time and and effort. Appreciated. -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune
Re: PXE install, without internet?
Okay, Thanks for everything guys!! But still I am not able to get this work. So is what I am trying to do: Case I : Without Preseed: I boot from the PXE server. I go to the mirror selection page on the debian installer. I execute a shell. I create the directories #mkdir -p /etc/apt/apt.conf.d then using the nano editor: I write the following line. Acquire::http { Proxy http://172.16.4.104:3142/;; }; I have also tried this syntax ( as suggested by Klaus) Acquire::http::Proxy http://172.16.4.104:3142/;; Still it downloads all the packages and the release files from the internet. Yes on my server where apt-cacher-ng is installed, all packages have been successfully imported from the iso. I can confirm it as I have installed many packages from cacher from an pre installed debian client. Works like a charm. Now Case II:- With preseed: 1) I got the example pressed file from debian.org.Here is a link to it. http://paste.debian.net/78953/ More specifically I have this as my repositories in preseed: ### Mirror settings # If you select ftp, the mirror/country string does not need to be set. #d-i mirror/protocol string ftp d-i mirror/country string manual d-i mirror/http/hostname string http.us.debian.org d-i mirror/http/directory string /debian d-i mirror/http/proxy http://172.16.4.104:3142 Now I have saved the above in /var/www/ and this is my entry in /srv/tftp/pxelinux.cfg/default file # D-I config version 2.0 include debian-installer/amd64/boot-screens/menu.cfg default debian-installer/amd64/boot-screens/vesamenu.c32 prompt 0 timeout 0 label amd64 kernel debian-installer/amd64/linux append vga=normal initrd=debian-installer/amd64/initrd.gz netcfg/choose_interface=eth0 domain=WORKGROUP debian-installer/country=IN debian-installer/language=en auto-install/enable=false preseed/url=http://172.16.4.104/preseed.cfg DEBCONF_DEBUG=5 -- quiet When I boot a client from tftp, and I select the amd64 label on the installer, many pages on the installer are skipped. Yet the packages are downloaded from the internet. I know I am little persistent, maybe I am missing something, but I feel I am almost there. I apologize if you guys feel that I am doing my research properly, or I am asking too noob questions. I just don't know why I am doing this, this thing is not in my syllabus, I am not supposed to do this, I am not getting paid for this, but still, I just want to get it to work! Please help! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AHEbOaCQr8gpLi=ueVzqZOkKKoPmYP+QF+aWh=gxvn...@mail.gmail.com
Re: PXE install, without internet?
NO. Stop there! :) Don't open a shell. Just proceed to the next step in the installer and enter the proxy information as asked. The Debian installer will do all that for you. Somebody above mentioned that there is a bug in the debian installer and you need to manually give the proxy. If not what am I supposed to enter there. First page on the proxy says that if you need a proxy to access the outside world. The format on this page is http://[user][:pass]@host[:port]/; So I gave http://172.16.4.104:3142/ # I never gave the trailing / before and now its working. Feels great to see the packages retrieved at the speed of light. Now if I use this as preseed string will it work? ### Mirror settings # If you select ftp, the mirror/country string does not need to be set. #d-i mirror/protocol string ftp d-i mirror/country string manual d-i mirror/http/hostname string http.us.debian.org d-i mirror/http/directory string /debian d-i mirror/http/proxy http://172.16.4.104:3142/ #This line? ### It should work right? Now I ran into some other problems. Only a few computers are able to find the PXE server Not all. Is there a limit on the number of machines that can be installed at a time using a PXE server? Thanks for all your support! I finally got the apt-cacher-ng part working. -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9aex+u0u133hg5xhx-8g_dal1qfiopbb2-fhg8tum+a...@mail.gmail.com
Fwd: PXE install, without internet?
[frwding to the liist, sent by mistake only to Scott] Thanks for everything. I have observed that a few packages are being downloaded from the internet. They maybe the security packages and updates released after package the iso. ( I have imported the packages from the iso ) Now taking all this to a new level, is there a way to mirror official debian ftp repositories like debian main, debian security, debian updates etc on the apt-cacher-ng database, and maybe update those repositories once twenty days? Leave the slash off e.g.:- d-i mirror/http/proxy http://172.16.4.104:3142 ### It should work right? Now it will :) I will test the preseed and let you know whether its working or not! I am taking some days off from the college for a well deserved holiday. TFTP doesn't handle more than about 100 simultaneous installations - the solution there is to use GPXE (which also allows greater flexibility with the location of the server) - and use http instead of tftp. For more than 1000 simultaneous installs I'd suggest GPXE with http via slamd. There are only 20 PCs in the lab that I am trying to manage. So that shouldn't be a problem right? When I boot the PCs and escape to boot menu, I select network from list of devices to boot from and after the PC stucks on finding the PXE server. When I try to restart the tfpt-hpa service from the service, the service never starts sometimes. I am not able to find out the real pattern as to when the tftp server stops working. Sometimes just restarting the isc-dhcp-server service on the server will solver the issue, and sometimes restarting the dhcp service wont help. Thanks for all your support! I finally got the apt-cacher-ng part working. I love apt-cacher-ng (we're just good friends, 'really'). Apt-cacher and squid are also good for the same thing - but apt-cacher-ng has much lower resource requirements. Glad to hear it's all working for you. When it comes to administering all those boxes you might also find Steve Kemps debian-admin site interesting:- http://debian-administration.org/ Thanks for the website, maybe one day I will be telnet-ing or ssh-ing to the same PXE server that I have setup and will be installing so many packages together on so many machines at the same time right from my bed. :) -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9ag2toplqtmyzde+hjgtg9sgr4viujjaj86auzx9_pv...@mail.gmail.com
Re: PXE install, without internet?
No. Probably a DNS problem, alt+f4 in the affected installation to see where the error is. I've seen the problem but don't recall a specific cause - I also don't know your DNS, PXE and TFTP server setup. I generally use an IPCop Firewall and DNS, with PXE and TFTP on a separate (VirtualBox) machine, so my experience may not translate. I will be back next monday or tuesday. For starters I installed the server packages from this guide. http://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3 And the dns and tftp configurations was done using this guide. http://www.howtoforge.com/setting-up-a-pxe-install-server-for-multiple-linux-distributions-on-debian-lenny And finally placed the tftp boot files in the directory as specified in the official debian guide. https://wiki.debian.org/PXEBootInstall#Set_up_TFTP_server As soon as I reach my college the first thing I will do is share my /etc/networking/interfaces files to show how I have set up my server. And thanks for the kind words. Appreciated everyone efforts. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9ag5t9syhjfz0e8vzsc2n7b33o8sefdnyv_pakrb8fh...@mail.gmail.com
Re: PXE install, without internet?
I had replaced the splash.png in my tftp boot folder, which was working at first but was not working later. Replacing those files again solved the issue of PXE server not working! I will keep posting again, if it gave some problem! Thanks everyone. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AE30vnq1MK4d12iHGB_LW-j=2jG2=ObfaRkTqFKc_KE=a...@mail.gmail.com
Re: PXE install, without internet?
Sorry for revoking this thread so early. I installed like say 10 PCs simultaneously using apt-cacher-ng and PXE server. Afterwards when I started other PCs to install from network, they are refusing to identify the PXE server. I also tried replacing the tftp files again but no help. When I try to restart the tftp-hp service, I don't get the Ok prompt. root@server1:/home/neo1691# /etc/init.d/tftpd-hpa restart [] Restarting HPA's tftpd: in.tftpdroot@server1:/home/neo1691# The above is exact output of the prompt. Here's is my networking configuration: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo eth0 iface lo inet loopback iface eth0 inet static address 172.16.4.104 netmask 255.255.248.0 gateway 172.16.0.1 and here's is my tftp configuration: /etc/default/tftpd-hpa TFTP_USERNAME=tftp TFTP_DIRECTORY=/srv/tftp TFTP_ADDRESS=0.0.0.0:69 TFTP_OPTIONS=--secure Any idea where should I start debugging? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AFabWsC9_Ra53DqC4Y4iU_1c7Mjpw=r5famtbf2tra...@mail.gmail.com
Re: PXE install, without internet?
In case it's an issue with insufficient free dhcp leases, on the box with the dhcp server try:- (for isc-dhcp-server) cat /var/lib/dhcpd.leases and compare that against the number available in your settings No such file or directory. Maybe because I am using isc-dhcp-server, not dhcp3? also:- service dhcpd restart It was service isc-dhcp-service on my box, it restarted, but the other clients were not able to Then try booting the PXE clients again. Same result, unable to find the PXE server. At the DHCP server (first)? Please post:- /etc/dhcpd.conf /etc/default/dhcp3-server Right now away from my colleges, but I feel the requested files wont be available on the server since I am using isc-dhcp-server and not dhcp3. Just a thought. I will post the required files as soon as I reach the lab again. -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9ag1vjmefd245+penpqhuolzh7dm2vupf_f-bqmeyxg...@mail.gmail.com
Re: PXE install, without internet?
Indeed (easy), I had to look at that for a bit. That's 11 host bits, not 3 (255.255.255.248) giving 2048 addresses - which 'may' make a difference. From 1st coffee of the day memory (dodgy) that's a class B instead of a C. Thanks for the pointer, a full refund is on it's way to the OP now. I can't explain more on why I choose the combination of the above IP addresses because those were given by my administrator. I will ask him some questions on what network is that, and maybe then we can find out how is that conflicting with the dhcp server that I have built. Also just wanted to say that the guys at our college has something called cyberoam filter, which also acts as a dhcp server, but now the dhcp server is disabled. I also want to make a small confession, that although there was a small introductory course last year on computer networks, but I am sure a super noob in these IPs and subnet things. -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AEBbadBfqmXK1SFeBvvt2TSe=d2-0-vpfnbj6sk0wv...@mail.gmail.com
About to format the whole laptop, need some partitioning advice.
Hello list, I have an Asus laptop, with 720 gigs hardisk and i5 processor. Right now I have a dual boot of Windoze (only for playing fifa and assassins creed) and debian wheezy 64 bit. Debian takes a lots of time for booting up and some folks on irc said that I should be trying systemd. I did that but there was no improvement. So some people also suggested that my partitions are somehow not right. So now since I am about to partition I would like to know what should be the ideal partitioning scheme. Here is the screenshot of my current partitions. http://i.imgur.com/YI4a1oU.png There was a tool which gave the read-write speeds of my hdd, that was mentioned by the guys in irc, I cant remember now, and the speeds were very low. So these are the questions: 1) What partitioning scheme should I choose now, If I want to have /home, /var, /usr, /tmp on different partitions and I just want a windoze partition of 50-60 gb. 2) As you can see in the screenshot, gparted shows that the hdd is only 698 gb whereas when purchased it was 720 GB. Any ways to recover the lost sectors back? Please pardon me If I am not allowed to post link to images! -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9ahz_z5qdomwovdqjcgbb-vun-ng5hjnh5ekrwkugku...@mail.gmail.com
Re: About to format the whole laptop, need some partitioning advice.
I used to use multiple partitions as you do. Nowadays, the only partitions I use are: /boot - about 1GiB / - root partition, the rest This way, it's really simple, and the old reasons (for most home users at least) for having multiple partitions are no longer valid (separate backups, making sure /root does not fill up, etc), since the HDDs are so capacious. But then I assumed that having all in different partitons helped at the time of upgrade? Please prove me wrong. Sounds like you might have some other problem though. Your current partition setup should not be a _performance_ problem as far as I can tell, although I would consider it a disk flexibility problem for sure. If you really want multiple partitions (besides a separate /boot) then LVM is your friend - and it future or if you're adventurous, BTRFS instead. The HDD I have in my laptop has somewhat low rpms, maybe that's the issue? Its a sata HDD with 5400 rpms! But WHY do you want them on separate partitions? XY problem? Already answered you above. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AG1UCNKHU02ipyo4Rfd_M1U5Dj7ZUqx7G5r==qdcur...@mail.gmail.com
Re: About to format the whole laptop, need some partitioning advice.
Assumptions cannot necessarily be proven wrong. Please prove your assumption is right. If you attempt to do this, you will find your assumption is wrong. Also: How do you do upgrade on Debian? Answer this, and you will also prove yourself wrong. So, the job of proving is for the student :) Sounds like you might have some other problem though. Your current partition setup should not be a _performance_ problem as far as I can tell, although I would consider it a disk flexibility problem for sure. If you really want multiple partitions (besides a separate /boot) then LVM is your friend - and it future or if you're adventurous, BTRFS instead. The HDD I have in my laptop has somewhat low rpms, maybe that's the issue? Its a sata HDD with 5400 rpms! I dunno - may be you used to use a Dekstop with SSD. Why do you say it is slow? Because when my computer boots up, it takes like 25 seconds more to get started after entering the username and password. That is 25 seconds of more wait after logging in. But WHY do you want them on separate partitions? XY problem? Already answered you above. My suggestions/questions are to assist you to find your own answers. If you can't answer the why you want separate partitions, with knowledge and/ or experience, then you are making an assumption, and may be you are better to accept someone else's assumption or experience... May be you read something, but you didn't say, so can't help you further sorry. If I messed up my system and want to restore back to a clean state, I can keep my /home intact? And maybe preserve the data? Not everybody has access to portable HDDs for backup, do they? -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AE9jro_rbx2FysXyJ9Uo=-_l-mkihsyto4kcmwtklk...@mail.gmail.com
Re: About to format the whole laptop, need some partitioning advice.
On Wed, Feb 5, 2014 at 2:01 PM, Chris Bannister cbannis...@slingshot.co.nz wrote: On Wed, Feb 05, 2014 at 12:46:07PM +0530, Anubhav Yadav wrote: Because when my computer boots up, it takes like 25 seconds more to get started after entering the username and password. That is 25 seconds of more wait after logging in. Is that logging in at the tty prompt or through a GDM, if a GDM which one? Have you tried another GDM? It's GDM. I haven't tried any other on this laptop, I can install lightDM. But then after formatting I am going to ditch gnome and switch to awesome. Also, does it just wait as though it is checking your credentials, or do you actually login, but get a spinning cursor or something else? Yes, spinning cursor! Exactly! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9aen8+q9wptbynpsiau9wxngr9ruu15zvtpscs05k3z...@mail.gmail.com
Re: About to format the whole laptop, need some partitioning advice.
The slowness you've been noticing, as people have pointed out, may be due do GNOME and whichever start-up proggies it has. I'd recommend LXDE, XFCE or fluxbox instead of awesome though. I have tried xfce and I believe that its a great great desktop environment, However I am restricted in using that for a couple of reasons. 1) It does not seem to have a good network manager. the network manager in gnome lets us define some profiles for different networks and you can switch them easily. For eg I have a static IP address at home and DHCP at my college. In gnome I can make two profiles for both and switch them on the fly. XFCE has that? Thunar is a great browser but it lacks in tabbed browsing. I cannot open tabs in thunar. Also it does not have a network bookmark on the left pane to browse the network. Nautlus is great but then why do I install gnome dependency on xfce? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AEZvzWJVZUU18dAM8rgAXu1gyE9Ed_txtBNnC-=gfv...@mail.gmail.com
Re: About to format the whole laptop, need some partitioning advice.
Network Manager isn't good, it's bad, however if you like it, you can use it with Xfce too and don't worry about installing GNOME dependencies, since Xfce is based on much GNOME stuff. Regarding to Thunar vs Nautlius, note that if you install all that automatic crap, than Thunar anyway will use GNOME Virtual File System. Xfce is based on GTK too. IOW you could use Natilus with Xfce and don't need to worry about too much extra dependencies, but you still could benefit from the advantages that Xfce has got over GNOME. Thats why I have been thinking that why not use a minimal window manager like awesome or i3? -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AE=c5BNmteb+zuRz=ag7scypx+9d9pf-xho1rg1rba...@mail.gmail.com
Re: About to format the whole laptop, need some partitioning advice.
I do not know for awesome, but for i3, the reason could be to avoid learning a new way of thinking. I3 is not only efficient in a memory and CPU point of view, but also in term of user's time, if you learn how to use it. Tiling Wm are different from the standard ones. I don't really get what are you trying to say? Should I go for using tiling wms or not? Or learning the tiling wm are too time consuming? Regards Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+Jf9AF-ba26G4uz8qosB9tbQ-U_wpK+pjLHodf=ovaw_5x...@mail.gmail.com
Re: PXE install, without internet?
Please post:- /etc/dhcpd.conf /etc/default/dhcp3-server Like I said, these files are not there on my box! -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9ahhoo6ss0eufxt7fbmggzyan_wgvlk-fee5qrdabif...@mail.gmail.com
Re: About to format the whole laptop, need some partitioning advice.
Defining desktop is the tricky bit (to some it only means where the box sits). In this instance I've assumed the OP means office apps, bit of gaming, internet apps - so I'd go go for a two slice setup, with a separate / and /home, with and a swap file. For a similar desktop in a business environment it'd be SOE rules so I would use more partitions (backup and rollout planning would be a nightmare otherwise - not to mention support contract negotiation headaches). Hi, I would like to set up an environment for development and programming. So I guess I will have to seperate out the /usr and / part and keep /home on a different partition too. -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9aep9f2yk9s9armzowj6ffpzr9ys0j6513odzdujo0j...@mail.gmail.com
Re: About to format the whole laptop, need some partitioning advice.
Simply that, if you intend to take i3, you will have to learn to think differently. My opinion is that tiling wm are far more efficient than classic stacking window managers, but it indeed changed my habits. Since then, for example, I do not use any file explorer, they are slower than command line for most things. Of course, you still can use file explorers... So you use only command line for navigation files? Or do you use a command line file explorer? Now, i3 is the one I choose because it did not implied a lot of learning, it's configuration file is really clean: no need to learn any programming language there, but facts is that it lacks some features against more hard-core twm, for example some others have layouts: new windows does not just split current container, they are moved in a precise place of the screen. But anyway, here is a quote from i3-wm.org: i3 is primarily targeted at advanced users and developers.. Gnome users might do not feel good there. It provide only a window manager, no menu, no desktop, etc. You will have to install those yourself. All I need is a good network manager. A good notifier so that I get notified of xchat mentions or usb plugged in notifications. Now I am also a programming student, so learning a good language for a twm shouldn't be an overkill. I face a question now: 1) Should I take time to learn a new twm, or should I install both twm and xfce. 2) i3 vs awesome! Just installed i3, lets see how it fares against awesome. -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9ag3-tmnaik-3jsncd88uzs1qdvn0hvd2ogv0fc84r+...@mail.gmail.com
Re: About to format the whole laptop, need some partitioning advice.
Something really bad happened. I went to format all my partitions from the windows 8 installation menu (Bootable usb) and when I went to format boot partition of windows 100 mb,the installer hanged (typical of windows) After waiting for say half an hour, I hard-rebooted the laptop and it was stuck on the bios splash screen. I could do nothing, could not enter bios,nor could enter the boot menu. So I took my laptop to the Asus service center. They connected my hardisk to a casing and the hardisk was not even detected on their computers. So they confidently said that your hardisk has been damaged and no matter what you do, you cannot revive it. You can get a new hardisk for blah blah money. I am so badly screwed. After waiting for two months to get my laptop back (motherboard replacement) I am so badly screwed. I so badly wanted to prepare for gsoc, literally cried. Thanks a lot everyone for taking out their precious time and replying so beautifully to me. So thankful to everyone! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9ahgztwygvevd42fantoega-15rl+6hrybi_rznaywc...@mail.gmail.com
Re: About to format the whole laptop, need some partitioning advice.
Someone asked how much RAM you have. How much? 1G is not enough with Gnome 3. More than 4G is more than is necessary under many normal loads, but if you don't have 4G, 4G is reasonable. If you can add memory or replace what you have and have the money to spare. I have 8 GB ram :) What are Neo and Workstation for? (May I ask?) They contained movies and PDF and were windows partitions and will be going off. Did that tool also have diagnostics? Was it the ASUS provided tool? Did you run some tool to check that your HD is not having smartdrive issues? (Ergo, not dying an untimely death.) No it just gave me the copying speed of HDD. Its a standard linux utility but I forgot the name. Suggestions from me (and no reasons to trust me more than anyone else, perhaps): / (root partition) should be at least large enough to handle a /var gone out of control if /var doesn't mount, or if you don't have a separate /var. Minimum 4G (base ten or base two, either way). I'd go with 8G, since you're starting with a drive bigger than 120G. Larger if you do choose to combine /usr and /var, and so forth, with the root partition. /etc? I've seen recommendations to separate /etc as a partition. It's a bit of a trap for a home-use machine, don't do it this time around. Keep /etc with /. /bin? /sbin? /ilb? Keep these combined with / unless you like to confuse the kernel when it i trying to boot and can't find any of the standard tools or even some of the libraries it needs to boot even to single-user mode these days. /usr? There are strange things that happen to Red Hat (Fedora, etc.) style machines during boot that indicate against /usr being separate. I've been bitten by them on Fedora, which is one of the reasons I am using Debian now. I keep /usr separate because it tends to change a lot when you install and remove packages. It's that simple. However, you don't need more than 32G for /usr unless you really go crazy installing (literally) every package available, and installing a lot of packages is one good way to slow your machine down on boot and login. (Of course, if you don't install lots of stuff, you never get to play with it and discover new tools. :-/) Well, be a bit careful what you install beyond what you know you need, but not too careful. Anyway, 32G for /usr should not be overkill, and won't be too time consuming when it has to be fsck-ed. fsck demonstrates one good reason to keep partitions small. Large partitions take longer on fsck and similar maintenance. And if you ever have to search for lost text files with testdisk or such, larger than 32G can be a real, serious show stopper. (I gave up when I lost two-days' work to a bad Makefile just two weeks back, because the files were text files and too small for testdisk to see in the partition they were in. Could have resorted to lower-level techniques like grep /dev/sda3 or hexdump -C | grep, but I decided it would be faster to use my gray-matter and type the stuff in from scratch. It was. (First time took two days to produce the files, second time took four hours, and was good for checking my work. Programming is like that in a lot of cases. 8-o) I also like to be a good programmer :) Unfortunately, /usr/bin, /usr/sbin, and /usr/lib may contain stuff that the boot-up process wants to use, and may thus cause problems if they can't be mounted. As I say, I saw that on Fedora. Not on Debian. That says something about the differences between the two, I think. (Fedora folks keep themselves busy inventing solutions to problems of their own making, it seems to me. That's okay for them. Maybe someday in the distant future, the side-tour on systemd will bear meaningful fruit. I don't expect it to happen this year or next, and that's another reason I'm using Debian now. They can have their fun. I need to focus on other things, myself.) So, for Debian, I recommend a separate /usr, 32G since you have it. /tmp? Some say it is not used any more. I say give it at least 8G. 16G since you have a big HD to start with. I've used it on odd occasions, and making it too small is bad news. Keeping it separate, so that you can separate the stuff that changes from the stuff that doesn't is still a good idea. /var? Similar to my advice on /tmp, separate partition to separate the stuff that changes a lot from the stuff that doesn't change as much. But /var tends to stay around, where /tmp is supposed to be cleared (or clear-able) on boot. So, I'd recommend 16G or even 32G for /var. /var gets really hammered on system updates. /var/log gets filled up quickly when things go south. And there is /var/tmp which gets used more than /tmp these days. (Both still get used, even though there are those who claim that ramdisk temporary files make more sense. Such arguments tend to ignore certain real-world issues and practices.) Why is it that all partitions you are recommending are multiples of 2? Any
Re: About to format the whole laptop, need some partitioning advice.
Don't give up yet. Have you a friend who could let you look at your hard-drive yourself? I have got a friend's laptop (Dell) right now in my room, so I am thinking of removing my hdd and putting that hdd on the dell laptop and trying to get into a linux boot using the hdd. And, sorry to seem slow, but why would a messed up hard drive prevent access to the BIOS? Now a faulty motherboard could, and it is not unheard of for repairs to fail to function. If I remove the hdd and boot the laptop, I can go into the bios easily. Heartbreaking. I really feel for you. But don't give up yet. Formulate a question or series of questions using the advice that David gave you and see what this list can come up with. There are those here who are quite simply magicians. Yes I agree, guys here can simply just do anything at all. Truly ingenious! I will keep on reporting what I am doing. Thanks -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+jf9ae7dnpxvpz9ztnovnzag9gkoewuum5r5rujhfxfyct...@mail.gmail.com