# Ubuntu image update

**URL:** <https://forum.opennebula.io/t/ubuntu-image-update/1688>\
**Category:** Integration Support\
**Created:** [January 18, 2016, 9:19am UTC](https://forum.opennebula.io/t/ubuntu-image-update/1688 "2016-01-18T09:19:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomasalrin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/thomasalrin/32/4297_2.png) [@thomasalrin](https://forum.opennebula.io/u/thomasalrin)\
**Post date:** [January 18, 2016, 9:19am UTC](https://forum.opennebula.io/t/ubuntu-image-update/1688/1 "2016-01-18T09:19:30Z")

</div>

Hi all,

I’m using ubuntu14.04, and i’m having ubuntu14.04 image with packagename-v1.  
I want to update the image with new package packagename-v2.

How to do this?  
Can i use tools like virt-customize?

Read this article [http://opennebula.org/creating-customized-images/](http://opennebula.org/creating-customized-images/) really nice. But it is not working in ubuntu.

---

<div class="post-metadata">

**Author:** ![michaudg](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@michaudg](https://forum.opennebula.io/u/michaudg)\
**Post date:** [January 19, 2016, 1:13am UTC](https://forum.opennebula.io/t/ubuntu-image-update/1688/2 "2016-01-19T01:13:50Z")

</div>

Hi thomasalrin,

Can you simply create a packagename-v1 based VM, update what you want and save it to a new image named packagename-v2?

You can use “Save As” in the Storage tab of the VM to do it.

---

<div class="post-metadata">

**Author:** ![thomasalrin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/thomasalrin/32/4297_2.png) [@thomasalrin](https://forum.opennebula.io/u/thomasalrin)\
**Post date:** [January 19, 2016, 5:48am UTC](https://forum.opennebula.io/t/ubuntu-image-update/1688/3 "2016-01-19T05:48:57Z")

</div>

Hi @michaudg,

Thank you for your reply.

I know this, and i follow this for now. But i want to reduce the time.  
I have an image,

1. i need to upload it to opennebula,
2. then i need to create a vm using that image,
3. then i need to install packages,
4. then i need to take snapshot,
5. then i need to download the image.

I want to reduce this time.  
Did you read this [http://opennebula.org/creating-customized-images/](http://opennebula.org/creating-customized-images/) ?

It is so simple. I tried it(virt-customize) in ubuntu, and it has some issues, with its dependency packages.

Anybody solved my problem somewhere?

---

<div class="post-metadata">

**Author:** ![jfontan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/jfontan/32/18_2.png) [@jfontan](https://forum.opennebula.io/u/jfontan)\
**Post date:** [January 19, 2016, 9:48am UTC](https://forum.opennebula.io/t/ubuntu-image-update/1688/4 "2016-01-19T09:48:12Z")

</div>

For packages that have dependencies in Debian/Ubuntu you can use this method:

```nohighlight
# dpkg -i package.deb
# apt-get install -f -y

```

The `apt-get` command will install the dependencies of packages from repositories.

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [June 25, 2025, 4:06pm UTC](https://forum.opennebula.io/t/ubuntu-image-update/1688/5 "2025-06-25T16:06:00Z")

</div>

Closed on June 25, 2025, 4:06pm UTC


