Re: [ubuntu-in] Experimental debdelta repository

2009-11-07 Thread Onkar Shinde
> I tried the following things :-
>
> a. I installed debdelta
> b. Software sources were made to http://ftp.iitm.ac.in/ubuntu
> c. Edited the /etc/debdelta/sources.conf to same as given in the sample file.
> d. ran sudo apt-get update
> e. ran sudo apt-get debdelta-upgrade
>
> It says E: Invalid operation debdelta-upgrade
>
> Any ideas where I have gone wrong ?

1. IITM doesn't have debdelta repository.
2. Second is my mistake, it should be simply 'sudo debdelta-upgrade'
and not 'sudo apt-get debdelta-upgrade'.


Onkar

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Experimental debdelta repository

2009-11-07 Thread shirish शिरीष
in-line :-

On Tue, Sep 15, 2009 at 06:59, Onkar Shinde  wrote:
> Hi all,
>
> I have setup a experimental debdelta repository for packages in
> jaunty-security on our website hosting ubuntu-in.info. I will try to
> explain what this means and how can users benefit.
>
> What is debdelta:
> Debdelta is a program that generates delta (difference) between two
> .deb files. This delta can be used to generate new version of a
> package if you already have old version with you. Actual generation of
> delta is done with help of utilities such as xdelta, bsdiff.
>
> What are benefits:
> Some of the packages in Ubuntu get regular security/bugfixes updates
> ex. firefox. Every time a security/bugfix is released user has to
> re-download the .deb files corresponding to latest version. This
> causes lot of download and considering that most users have limited
> bandwidth this is one of the main reason why users are reluctant to
> install updates.
> With help of debdelta, if you have installed update for a package
> (let's say firefox) and if the .deb file is present on the machine (by
> default in /var/cache/apt/archive), next time a update is released for
> same package user will just need to download the delta and new package
> can be created locally. This usually reduces the download required by
> 50%-80%.
>
>
> How to use it.
> As of now if you wish to use the debdelta repository you will have to
> follow these steps.
> 1. Install debdelta package using your favorite package manager.
> 2. Edit /etc/debdelta/sources.conf file. Set value for 'Origin' and
> 'Label' to Ubuntu. Change delta_uri to http://ubuntu-in.info/ubuntu/
> A sample file is available at - http://paste.ubuntu.com/271384/
> 3. For downloading the upgrades run commands in following sequence.
> sudo apt-get update
> sudo apt-get debdelta-upgrade
> sudo apt-get dist-upgrade
>

I tried the following things :-

a. I installed debdelta
b. Software sources were made to http://ftp.iitm.ac.in/ubuntu
c. Edited the /etc/debdelta/sources.conf to same as given in the sample file.
d. ran sudo apt-get update
e. ran sudo apt-get debdelta-upgrade

It says E: Invalid operation debdelta-upgrade

Any ideas where I have gone wrong ?

> Limitations
> 1. Currently the repository contains debdelta only for packages in
> jaunty-security from 'main' component for i386. This is because of
> limited disk space.

This is the reason perhaps why I got 404 on some of the updates

Err http://ftp.iitm.ac.in karmic/main Sources
  404  Not Found
Err http://ftp.iitm.ac.in karmic/restricted Sources
  404  Not Found
Err http://ftp.iitm.ac.in karmic/universe Sources
  404  Not Found
Err http://ftp.iitm.ac.in karmic/multiverse Sources
  404  Not Found
Err http://ftp.iitm.ac.in karmic-updates/main Sources
  404  Not Found
Err http://ftp.iitm.ac.in karmic-updates/restricted Sources
  404  Not Found
Err http://ftp.iitm.ac.in karmic-updates/universe Sources
  404  Not Found
Err http://ftp.iitm.ac.in karmic-updates/multiverse Sources
  404  Not Found
Err http://ftp.iitm.ac.in karmic-security/main Sources
  404  Not Found
Err http://ftp.iitm.ac.in karmic-security/restricted Sources
  404  Not Found
Err http://ftp.iitm.ac.in karmic-security/universe Sources
  404  Not Found
Err http://ftp.iitm.ac.in karmic-security/multiverse Sources
  404  Not Found

I do see there are other updates as well.

> 2. Since debdelta is created only when more then one versions of a
> package are available in the repository, our repository contains very
> few of them. As of today it contains debdelta corresponding to latest
> update of openssl package. More debdeltas will get accumulated in the
> repository as more security updates are released.
>
>
> The road ahead:
> If use of debdeltas proves beneficial we can suggest the same to
> admins at IITM for the semi-official Ubuntu repository. This will save
> lot of bandwidth for everyone in the long run.
>
>
> Disclaimer:
> The usual disclaimer applies. Use at your own risk.
>
>
> Onkar
> --
> Passion - Some people climb mountains - others write Free software.
> Don't ask why - the reason is the same.

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Experimental debdelta repository

2009-10-23 Thread Aanjhan R
2009/10/23 shirish शिरीष :
> You need to publicize it more. If you want I can point it out on my
> blog as well. The only thing is I don't know if your mirror can take
> any pressure or not. Also don't know if people are using 8.10 or not.

Its on the Ubuntu India server. We can try pushing it to the limits :)

Thanks and Regards,
Aanjhan

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Experimental debdelta repository

2009-10-23 Thread shirish शिरीष
in-line :-

On Tue, Sep 15, 2009 at 17:50, Onkar Shinde  wrote:



> The problem is that for creating debdelta I first need to do rsync
> with main mirror and then create a debdelta. As I mentioned in my
> email, the limitation is disk space on our hosting site. Give me
> enough disk space and I will create repository for karmic, for amd64,
> jaunty-updates etc.
>
> I am not involved with any effort mentioned by you. I discovered
> debdelta about two months back. And I setup this repository just as
> experiment. It turned easier to do than expected.
>

Hi Onkar,
 How did I miss this thread. Great work there. I would have
appreciated if people would have added their experiences with using
the updates from the debdelta repository.

What Vishal is/was talking about is the discussion he did about a
month back on ubuntu-devel-discuss

https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2009-August/009201.html

I had discovered debdeltas way before but don't/didn't know if it can be used.

http://flossexperiences.wordpress.com/2008/12/19/better-package-management/

> Onkar

You need to publicize it more. If you want I can point it out on my
blog as well. The only thing is I don't know if your mirror can take
any pressure or not. Also don't know if people are using 8.10 or not.

Slightly OT to the thread here but has anybody wondered why usually
the odd named releases are much better than the even numbered
releases. Is it because just like the Indian team which can't take
pressure in big matches, something similar plays in the mind of
software developers in even numbered releases as well.

I am thinking/talking about specifically about audio and video drivers
and generally the quality of the release.

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Experimental debdelta repository

2009-09-15 Thread Onkar Shinde
On Tue, Sep 15, 2009 at 5:32 PM, Vishal Rao  wrote:
> I'm running Karmic - what about that? Are you working with the current delta
> effort which should land post Karmic as a PPA (Lars Wirzenius etc)?

The problem is that for creating debdelta I first need to do rsync
with main mirror and then create a debdelta. As I mentioned in my
email, the limitation is disk space on our hosting site. Give me
enough disk space and I will create repository for karmic, for amd64,
jaunty-updates etc.

I am not involved with any effort mentioned by you. I discovered
debdelta about two months back. And I setup this repository just as
experiment. It turned easier to do than expected.


Onkar

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Experimental debdelta repository

2009-09-15 Thread Vishal Rao
I'm running Karmic - what about that? Are you working with the current delta
effort which should land post Karmic as a PPA (Lars Wirzenius etc)?
-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


[ubuntu-in] Experimental debdelta repository

2009-09-15 Thread Onkar Shinde
Hi all,

I have setup a experimental debdelta repository for packages in
jaunty-security on our website hosting ubuntu-in.info. I will try to
explain what this means and how can users benefit.

What is debdelta:
Debdelta is a program that generates delta (difference) between two
.deb files. This delta can be used to generate new version of a
package if you already have old version with you. Actual generation of
delta is done with help of utilities such as xdelta, bsdiff.

What are benefits:
Some of the packages in Ubuntu get regular security/bugfixes updates
ex. firefox. Every time a security/bugfix is released user has to
re-download the .deb files corresponding to latest version. This
causes lot of download and considering that most users have limited
bandwidth this is one of the main reason why users are reluctant to
install updates.
With help of debdelta, if you have installed update for a package
(let's say firefox) and if the .deb file is present on the machine (by
default in /var/cache/apt/archive), next time a update is released for
same package user will just need to download the delta and new package
can be created locally. This usually reduces the download required by
50%-80%.


How to use it.
As of now if you wish to use the debdelta repository you will have to
follow these steps.
1. Install debdelta package using your favorite package manager.
2. Edit /etc/debdelta/sources.conf file. Set value for 'Origin' and
'Label' to Ubuntu. Change delta_uri to http://ubuntu-in.info/ubuntu/
A sample file is available at - http://paste.ubuntu.com/271384/
3. For downloading the upgrades run commands in following sequence.
sudo apt-get update
sudo apt-get debdelta-upgrade
sudo apt-get dist-upgrade


Limitations
1. Currently the repository contains debdelta only for packages in
jaunty-security from 'main' component for i386. This is because of
limited disk space.
2. Since debdelta is created only when more then one versions of a
package are available in the repository, our repository contains very
few of them. As of today it contains debdelta corresponding to latest
update of openssl package. More debdeltas will get accumulated in the
repository as more security updates are released.


The road ahead:
If use of debdeltas proves beneficial we can suggest the same to
admins at IITM for the semi-official Ubuntu repository. This will save
lot of bandwidth for everyone in the long run.


Disclaimer:
The usual disclaimer applies. Use at your own risk.


Onkar
-- 
Passion - Some people climb mountains - others write Free software.
Don't ask why - the reason is the same.

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in