<p>It looks like your <code>cabal</code> version is too old.</p>
<p>You can make sure you have the right one if you first start a <code>nix-shell</code> at the top-level directory of the <code>plutus</code>-repository, then <code>cd</code> to the code folder of the <code>plutus-pioneer-program</code>-repository and run <code>cabal build</code> from within that <code>nix-shell</code>.</p>

CC BY-SA 4.0
2021-05-29T09:48:51.683Z
awesome, thanks :)
kuldeep
CC BY-SA 4.0
2021-05-02T19:19:20.967Z
2021-05-03T05:03:16.360Z
2021-05-03T05:03:16.360Z
Lars Brünjes
<p>I ran into this dependencies error on Ubuntu when I try to build the English Auction, does anyone have an idea how to solve it ?</p>
<pre><code>
Please switch to using either the new project style and the new-build command
or the legacy v1-build alias as new-style projects will become the default in
the next version of cabal-install. Please file a bug if you cannot replicate a
working v1- use case with the new-style commands.

For more information, see: https://wiki.haskell.org/Cabal/NewBuild

Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
[__0] trying: plutus-pioneer-program-week01-0.1.0.0 (user goal)
[__1] next goal: base (dependency of plutus-pioneer-program-week01)
[__1] rejecting: base-4.12.0.0/installed-4.1... (conflict:
plutus-pioneer-program-week01 =&gt; base^&gt;=4.14.1.0)
[__1] fail (backjumping, conflict set: base, plutus-pioneer-program-week01)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: plutus-pioneer-program-week01, base
Trying configure anyway.
Configuring plutus-pioneer-program-week01-0.1.0.0...
cabal: Encountered missing dependencies:
aeson -any,
base &gt;=4.14.1.0 &amp;&amp; &lt;4.15,
playground-common -any,
plutus-contract -any,
plutus-ledger -any,
plutus-tx -any,
plutus-tx-plugin -any
</code></pre>

CC BY-SA 4.0
2021-05-02T17:48:00.550Z
Please, include exact steps to reproduce this problem, from which repository, which branch, which version of operating system you are using.
Marek Mahut - StakeNuts
<plutus><cabal><ubuntu>
Plutus Pioneer Program - Lecture #1 Problem with cabal build
# Plutus Pioneer Program - Lecture #1 Problem with cabal build

(Asked by: username_0 on 2021-05-02)

I ran into this dependencies error on Ubuntu when I try to build the English Auction, does anyone have an idea how to solve it ?

Please switch to using either the new project style and the new-build command
or the legacy v1-build alias as new-style projects will become the default in
the next version of cabal-install. Please file a bug if you cannot replicate a
working v1- use case with the new-style commands.

For more information, see: https://wiki.haskell.org/Cabal/NewBuild

Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
[__0] trying: plutus-pioneer-program-week01-0.1.0.0 (user goal)
[__1] next goal: base (dependency of plutus-pioneer-program-week01)
[__1] rejecting: base-4.12.0.0/installed-4.1... (conflict:
plutus-pioneer-program-week01 => base^>=4.14.1.0)
[__1] fail (backjumping, conflict set: base, plutus-pioneer-program-week01)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: plutus-pioneer-program-week01, base
Trying configure anyway.
Configuring plutus-pioneer-program-week01-0.1.0.0...
cabal: Encountered missing dependencies:
aeson -any,
base >=4.14.1.0 && <4.15,
playground-common -any,
plutus-contract -any,
plutus-ledger -any,
plutus-tx -any,
plutus-tx-plugin -any

**Tags:** plutus, cabal, ubuntu
> **Comments:**
> **username_1**: Please, include exact steps to reproduce this problem, from which repository, which branch, which version of operating system you are using.  

---

## 1 answers

### Answer by username_2 on 2021-05-02. Score: 14 | Accepted answer

It looks like your `cabal` version is too old.

You can make sure you have the right one if you first start a `nix-shell` at the top-level directory of the `plutus`-repository, then `cd` to the code folder of the `plutus-pioneer-program`-repository and run `cabal build` from within that `nix-shell`.

> **Comments:**
> **username_3**: awesome, thanks :)  

---

