Re: Disable/skip/ignore !! Configure the package manager dialog in preseed

2018-06-16 Thread Ravi Roy
On Fri, Jun 15, 2018 at 12:02 PM, Ravi Roy  wrote:

> Hi,
>
> [!!] Configure the package manager
>
>Cannot access repository
> The repository on xx.xx.xx.xx could not be accessed, so its updates will
> not be made available to you at this time. You should investigate it later.
> Commented out entries for xx.xx.xx.xx have been add /etc/apt/sources.list
>
> 
>  
>
> Does somebody have faced this issue? i did googling but did not get a
> workaround/fix for this
>
> Just want to mention here for reference if somebody face this issue - it
can be resolved by adding the following entry into preseed.

d-i apt-setup/services-select multiselect

Thank you.


Disable/skip/ignore !! Configure the package manager dialog in preseed

2018-06-15 Thread Ravi Roy
Hi,

I'm using PXE boot server to install debian 9 using preseed in headless way.
I'm using my product DVD as local debian reposiotry (having main contrib
and non-free) sections enabled.

I've to install some tools from non-free sections so i'm putting

local repo configuration:

d-i mirror/protocol http
d-i mirror/country string manual
d-i mirror/http/hostname string xx.xx.xx.xx
d-i mirror/http/directory string /
d-i mirror/http/proxy string
d-i debian-installer/allow_unauthenticated boolean true

To enable non-free tools to be installed i'm using :

d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true

It works as expected but i getting below mentioned annoying dialog which
i'm not sure how to ignore/skip/disable using pressed and should be able to
install non-free and contrib tools from local repo:

[!!] Configure the package manager

   Cannot access repository
The repository on xx.xx.xx.xx could not be accessed, so its updates will
not be made available to you at this time. You should investigate it later.
Commented out entries for xx.xx.xx.xx have been add /etc/apt/sources.list


 

Does somebody have faced this issue? i did googling but did not get a
workaround/fix for this

Thank you.
Ravi.


Debian 9 base product DVD installation using PXE boot in headless way.

2018-05-26 Thread Ravi Roy
 Hi All,

I've a PXE server running along with DNSMASQ and TFTP configured and set
Virtual Box based VM (for test puposes) as network boot in BIOS and start
the VM, it boots using the PXE server and I can see PXE boot message in the
console and take the IP from DHCP server in the network and also start
product's ISO as soon as it goes ahead it gives the error "No common CD ROM
detected" and installation does not proceed as expected.

I also tried to boot using netboot.tar.gz from debian repository as an
starting point it works as expected and install the basic system in
interactive way.

 I want to install my product's custom DVD on several machines in my
network in headless way using PXE server.

I've tried to google it but no solid example could be found.

Does somebody know if it is possible to achieve this or with some
workrounds?

Thank you.
Regards,
Ravi.


Execution of maintainer scripts and dependencies of package

2016-11-22 Thread Ravi Roy
Hi,

I've a question regarding the package maintainer scripts (preinst,
postinst, prerm and postrm) and dependencies of the package

I've a meta package where i've certain dependencies mentioned and i'm
checking a config file in 'preinst' from a dependent package but is not
found.

Question is : All dependencies of the package are installed and configured
first then maintainers scripts are run or  ?
Thank you

Regards
Ravi.


Re: apt-get can not find debian package in cdrom

2013-04-04 Thread Ravi Roy
On Wed, Apr 3, 2013 at 7:47 PM, Ravi Roy ravi.a...@gmail.com wrote:
 Yes, using sudo dpkg -i /media/cdrom/MYPACKAGE install the package
 perfectly in the system.
 This is very strange behaviour I have observed first time.

Thanks you all for taking time and helping me to find out the root
casue for a debian package which exists in cdrom and its index i.e.
'Package  Package.gz', but 'apt-get install MYPACAKGE'
can not find this package in index resulting in not installing it into
the system.

I want to let this list know that if size of debian package which is
less than or equal to 2.0G in size then it is detected and installed
perfectly using $ sudo apt-get install MYPACKAGE and also installed
using preseed in a headless way, but if size of debian package is
greater than 2.0G then 'apt-get install MYPACKAGE' can not detect and
install it.

Thanks,
Ravi.


-- 
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/cafmbnf9dszeh8m3lqwowusghms7sar_lncaoj56pqqoh1-j...@mail.gmail.com



apt-get can not find debian package in cdrom

2013-04-03 Thread Ravi Roy
Hi,

I'm using debian 6.0 Squeeze for my product and its installation is
headless using preseed. I have a strange issue that CD contains a
debian package but after mounting the cdrom when I try to install the
package it says :

$ sudo apt-get install mypackage
Reading package lists .. Done
Building dependency tree
Reading state information .. Done
Package mypackage is not available, but it is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'mypackage' has not installation candidate.

I verfied it and it is available in cdrom; I'm using apt and apt-utils
versions 0.8.10.3.
It would be helpful if somebody can point to a direction which may
help to resolve this issue.

Thanks you!

Regards
Ravi.


-- 
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/cafmbnf_moysho5kg96s4p1u-mtwjdg4jyn+y-15wrmjqxe+...@mail.gmail.com



Re: apt-get can not find debian package in cdrom

2013-04-03 Thread Ravi Roy
On Wed, Apr 3, 2013 at 3:31 PM, Mihamina Rakotomandimby
miham...@rktmb.org wrote:

 What is in your /etc/apt/sources.list?


I have only cdrom entry in /etc/apt/sources.list

deb cdrom:[my product installation cd]/ squeeze main

I can mount this cd perfectly using $ sudo apt-cdrom add and I can
see cdrom contents under /media/cdrom

Thanks for taking time.

Regards
Ravi.


-- 
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/cafmbnf-shnp9zsvosozc+gnrnwnz8pe_thb8ajt9legwjqd...@mail.gmail.com



Re: apt-get can not find debian package in cdrom

2013-04-03 Thread Ravi Roy
On Wed, Apr 3, 2013 at 7:33 PM, Wayne Topa linux...@gmail.com wrote:
 On 04/03/2013 06:22 AM, Ravi Roy wrote:

 Have you tried  sudo dpkg -i /media/cdrom/MYPACKAGE


Yes, using sudo dpkg -i /media/cdrom/MYPACKAGE install the package
perfectly in the system.
This is very strange behaviour I have observed first time.

Thanks
Ravi.


-- 
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/cafmbnf_mwa48tmjanhc_qbfonnpyzlbyduseyrkzj3w2mf1...@mail.gmail.com



cdrom-detect udeb package in netinstall CD of Lenny

2011-08-12 Thread Ravi Roy
Hi,

I am using netinstall 5.0.4 of Lenny and I wonder if somone can throw some
light on cdrom-detect udeb package which is part of debian installer. I can
not find cdrom-detect.udeb in debian netinstall CD of lenny. Reason to ask
this is to understand that what is the flow of CD/DVD-Rom detection and
mount or how it works at lower level.

Thanks!

--RR


Differnece and purpose of two initrd.gz in netinstall image

2011-05-18 Thread Ravi Roy
Hello

I could not find an answer as why there two initrd.gz in netinstall images
of debian Lenny (I have only checked in Lenny) ? Can somebody throw some
light on this please?

one under iso/install.amd/initrd.gz other under
iso/install.amd/gtk/initrd.gz.

Thanks.

-RR


Re: Differnece and purpose of two initrd.gz in netinstall image

2011-05-18 Thread Ravi Roy
Thanks Camaleon for quick response, I also have the same view :-)

On Wed, May 18, 2011 at 10:12 PM, Camaleón noela...@gmail.com wrote:

  On Wed, 18 May 2011 17:31:16 +0530, Ravi Roy wrote:
 Maybe the one located under /gtk uses the graphical installer :-?

 Greetings,

 --
 Camaleón



Debian Lenny archives location ?

2011-04-28 Thread Ravi Roy
This might be a stupid question becuase of my ignorance, in case it is,
 please excuse me.
Debian 6.0 Squeeze is stabe and Lenny (last point rel. 5.0.8) is old stable.
As per the posts I have come through so far, says that oldstable are moved
to http://archive.debian.org (archives for oldstables).

But I can not see Lenny in archives or I am missing something? Where can I
can access Lenny old stable packages using apt-get ?

Thanks for your attention.

-RR


Re: Debian Lenny archives location ?

2011-04-28 Thread Ravi Roy


 That is true, but oldstable is only archived one year after the relase
 of the current stable. That means you should find lenny sitting just
 beside squeeze on most mirrors. Your sources.list entries from before
 squeeze should still work until February 2012.

Ah, great. New learning for me. Thanks Jochen :)

--RR


Local debian repository producing additional packages with version mismatches

2011-02-13 Thread Ravi Roy
Hello,

I have setup a local debian repository and serving the same using VSFTPD ftp
server. I can use apt-get to install the packages from this repository on
another linux machine... No problems...

I have custom scripts to generate DVD for my product which uses official
debian repositories to resolve the dependencies of my product's debian
packages; all works fine.

But when I generate DVD using my local debian repository, there are lot of
addtional packages downloaded with version mistmatches and DVD does not
install.

Info about layout and installation steps of  local debian repository :
-

ftp://mymachine/debian  :  root of the repository

   dists -- lenny -- main -- binary-amd64 --Packages.gz
   dists -- lenny -- contrib -- binary-amd64 --
Packages.gz
   dists -- lenny -- non-free -- binary-amd64 --
Packages.gz

   pool -- main -- all main section packages here
   pool -- contrib -- all contrib section packages here
   pool --non-free -- all non-free section packages here


pool contains all debian packages for sections main, contrib and non-free
respectively (these packages are taken from official debian repository)

All indexes for these packages in the pool have been created by me using :

dpkg-scanpackages pool/main /dev/null | gzip -9c  absolute path to
package.gz

Same for all three sections main, contrib and non-free.

Can somebody point me why version mismatches are there in case I use my
local repository, but version mismatches are not there in case I use
official debian repositoryes... this confuses me...

Thank you all in advance for any pointers.

Regards
--RR


Help on porting packages between Debian 5 lenny and Debian 4.0 etch

2010-09-12 Thread Ravi Roy
Hi
Could somebody help me as how to port pacakges between distributions ... for
example a package which exists in debian 5.0 lenny but does not exists
in debian 4.0 etch and I need the same package in debian 4.0 etch.

Thanks for your pointers in advance!

Regards

-RR


Re: Help on porting packages between Debian 5 lenny and Debian 4.0 etch

2010-09-12 Thread Ravi Roy
On Sun, Sep 12, 2010 at 2:19 PM, Osamu Aoki os...@debian.org wrote:

 Hi,

 On Sun, Sep 12, 2010 at 12:58:15PM +0530, Ravi Roy wrote:
  Hi
  Could somebody help me as how to port pacakges between distributions ...
 for
  example a package which exists in debian 5.0 lenny but does not exists
  in debian 4.0 etch and I need the same package in debian 4.0 etch.

 Why?  ... anyway

Thanks Osamu for your quick response. My product is running using debian 4.0
etch version in production enviornment and needs bug fix releases from time
to time.. though effort is already started to migrate to debian 5.0 lenny.



  Thanks for your pointers in advance!

 This may involve some library backports etc   so it may not simple.

 Few things before trying it yourself.  It may be done.  Check old archive
 for
 backports.
 apt line: http://backports.debian.org/debian-backports/ etch-backports
 main
 URL:
 http://backports.debian.org/debian-backports/dists/etch-backports/main/

 If not, you can extend tricks described in 2.7.10. Porting a package to
 the stable system of Debian Reference.

 http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_porting_a_package_to_the_stable_system
  (This document assumes squeeze is already released since it is meant
  for squeeze release. We need to waitfor it.  But you get the idea.)

 It is essentially:
 # apt-get update # in sarge
 # apt-get install fakeroot devscripts build-essential
 $ apt-get build-dep foo # this is from lenny
 $ apt-get source foo
 $ cd foo*

 Some basic packaging skill is needed.  So read old (lenny) version and
 new (squeeze) version of maint-guide.  Newest vesion on the is on the
 web:
  http://www.debian.org/doc/manuals/maint-guide/index.en.html

 If all these are too much, hire some one if it is for your work.  If it s
 your
 privte system, think about upgrading to lenny.


I have to start it reading and trying out the things.. thanks for your help.

Regards
-RR



 Osamu




How to boot machine with newly installed kernel using presseed.cfg

2010-08-13 Thread Ravi Roy
Hi

I am installing new debian machine debian 5.0 - 64-bit. Everything goes
well; as a part of installation using presseding, I am installing new kernel
2.6.33.3 into this machine, but I can not make to boot the maching using
this kernel. It only boots from old kernel.

Can somebody help here on this ?

Regards
Ravi


Re: How to boot machine with newly installed kernel using presseed.cfg

2010-08-13 Thread Ravi Roy
On 8/13/10, Stephen Powell zlinux...@wowway.com wrote:

 On Fri, 13 Aug 2010 10:37:04 -0400 (EDT), Jordan Metzmeier wrote:
  On 08/13/2010 09:47 AM, Stephen Powell wrote:
 As for the OP, please provide more information, such as:



  My apologies for being newbie; would try to answer questions; some might
not be in right
  terminology of linux..

(1) Where did you get your 2.6.33 kernel?  Backports?  Experimental?
 Custom built?  etc.  How did you install it?


   it is custom built kernel, compiled by a colleague some time ago, it is
basically a debian package which is installed
   Installation is being triggered as late command in preseed.cfg

(2) What bootloader do you use?  grub? (version 1) grub-pc (version 2),
 lilo?  extlinux?  etc.


  I use grub version 0.97

(3) What is the contents of /etc/kernel-img.conf?


Will try installation again and let you know.

(4) What is the contents of your boot loader configuration file?
 (/etc/lilo.conf for lilo, /boot/grub/menu.lst for grub version 1,
 etc.)


   menu.lst contains two entries for kernel 2.6.26.2, which boots perfectly.

(5) What scripts exist in /etc/kernel/postinst.d, /etc/kernel/postrm.d,
 and /etc/initramfs/post-update.d?


   Have to try to install it again and will let you know.

(6) Are symbolic links used for the kernel, such as vmlinuz,
 and vmlinuz.old?  And what about the initial RAM file systems?
 Are symbolic links used for them too?  (initrd.img, initrd.img.old)
 If so, where are these symbolic links? (/, /boot, etc.)


   When I boot with old kernel under /boot, i can not see initrd.img for
2.6.33.3;
   means it is missing nor links exists.

 (7) What exactly are the symptoms of failure when you attempt to
 boot the 2.6.33 kernel?

  At installation time it does not give any error and system reboots and
boots with old kernel.

  I think first issue is initrd.img is missing for 2.6.33.3 and that is the
reason menu list also not being updated.

Thanks!

Ravi

--
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/1324991559.70067.1281711490732.javamail.r...@md01.wow.synacor.com


Building minimal custom CD [debian etch]

2010-06-15 Thread Ravi Roy
Hello List,

I am new to Linux, have some basic undderstanding to Debian Linux..
scripting etc. What I want to achieve is :

1.Build a customized minimal Debian bootable.
2.Customize package add some additional packages.

Boot a already installed debian system and reszie root partion to bigger
size (without user interaction and reboot the machine).

Could somebody give me pointers in the right direction where can I have look
and achieve the same ?

Thanks!

Regards,
-RR


Re: Building minimal custom CD [debian etch]

2010-06-15 Thread Ravi Roy
On Tue, Jun 15, 2010 at 8:56 PM, Ravi Roy ravi.a...@gmail.com wrote:



  On Tue, Jun 15, 2010 at 8:18 PM, Tzafrir Cohen tzaf...@cohens.org.ilwrote:

 On Tue, Jun 15, 2010 at 07:46:43PM +0530, Ravi Roy wrote:
  Hello List,
 
  I am new to Linux, have some basic undderstanding to Debian Linux..
  scripting etc. What I want to achieve is :
 
  1.Build a customized minimal Debian bootable.
  2.Customize package add some additional packages.

 Live media (runs from RAM)? If so, look into Debian Live:
 http://debian-live.alioth.debian.org/ . However it's not supported with
 Etch, IIRC.


 Thanks Tzafrir for quick reply,


 Customized instalaltion? Look into preseeding.


 I am not sure, I only need to resize the root partition with in an
 automated way.
 That is all I need.


 
  Boot a already installed debian system and reszie root partion to bigger
  size (without user interaction and reboot the machine).

 Boot with any system contanting parted or whatever. Many rescue CDs
 have e.g. gparted.

 Why Etch?


 Not Etch specifically, if any Rescue CD can do this.

 Thanks.


 --

 Tzafrir Cohen | tzaf...@jabber.org | VIM is
 http://tzafrir.org.il || a Mutt's
 tzaf...@cohens.org.il ||  best
 tzaf...@debian.org|| friend


 --
 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/20100615144817.gq16...@pear.tzafrir.org.il